Learn R Programming

ffbase (version 0.6-2)

droplevels.ff: The function droplevels is used to drop unused levels from a ff factor or , more commonly, from factors in a ffdf

Description

The function droplevels is used to drop unused levels from a ff factor or , more commonly, from factors in a ffdf

Usage

## S3 method for class 'ff':
droplevels(x, ..., inplace = FALSE)

Arguments

x
ff object
...
not used
inplace
if TRUE the columns will be physically changed, otherwise (default) a new ff vector will be created

Value

  • ff object where levels of factors are dropped

See Also

droplevels droplevels.ffdf