factor from an lfactor

Share:

Description

Returns an factor from an lfactor.

Usage

1
2
## S3 method for class 'lfactor'
as.factor(x)

Arguments

x

the lfactor to be coerced to a factor

Details

simply drops the numeric levels from the lfactor and returns a normal factor.

See Also

as.factor