Learn R Programming

ffbase (version 0.6-2)

droplevels.ffdf: The function droplevels is used to drop unused levels from factors in a ffdf

Description

The function droplevels is used to drop unused levels from factors in a ffdf

Usage

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

Arguments

x
ffdf object
except
specify which columns will be excluded from dropping levels
...
further arguments passed to droplevels.ff
inplace
if TRUE the columns will be physically changed, otherwise (default) new ff vectors will be created

Value

  • ffdf object where levels of factors are dropped

See Also

droplevels droplevels.ff