addFactLevs {caroline} | R Documentation |
Add new levels to the Factors in a DataFrame.
Description
This function loops through all of the factor columns in a dataframe and adds new.levs to the factor levels list.
Usage
addFactLevs(x, new.levs=NA)
Arguments
x |
a dataframe. |
new.levs |
new levels to be added. |
See Also
[Package caroline version 0.9.2 Index]