| misc | R Documentation |
Utilities
toFactors(df,cols)
df |
A data frame. |
cols |
A vector of column numbers. |
The toFactors function converts each df column in
cols to a factor, returns new version of df.
Should be used on categorical variables stored as integer codes
before calling the library's main functions,
including getPoly, FSR, or polyFit.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.