fact2num | R Documentation |
Coerce a vector of class "factor" to numeric.
fact2num(f)
f |
A vector of class "factor". |
Coerces a vector of class factor to numeric. This function preserves underlying integer associated with each element of f.
cf. > unclass(f)
A vector of class "numeric".
Dave Braze davebraze@gmail.com
fact2char
as.numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.