powered by
Utilities
toFactors(df,cols)
A data frame.
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.
toFactors
df
cols
getPoly
FSR
polyFit