View source: R/btools_utilities.r
fton | R Documentation |
Returns a numeric vector, converted from factor.
fton(fctr)
fctr |
factor that we want to convert to numeric |
Returns a pure numeric vector
numeric vector
set.seed(1234)
fctr <- factor(sample(1:4, 50, replace = TRUE), levels = 1:4)
fctr
fton(fctr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.