in Technology by (1.8m points)

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

1 Answer

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

Related questions

0 votes
asked Dec 22, 2021 in Education by JackTerrance (1.8m points)
...