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 Oct. 21, 2024, 9:06 a.m.