0 votes
in Technology by (326k points)

Suppose that I want to convert factor to number. I write the following code:

1 Answer

0 votes
by (326k points)
fac <- factor(c(2.3, 1.5, 3, 4.9))
as.numeric(fac)
...