This function loops through all of the factor columns in a dataframe and adds new.levs to the factor levels list.
addFactLevs(x, new.levs=NA)
x
a dataframe.
new.levs
new levels to be added.
factor, levels