addFactLevs: Add new levels to the Factors in a DataFrame.

View source: R/aggregate.R

addFactLevsR 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

factor, levels


caroline documentation built on Nov. 9, 2023, 9:07 a.m.