ffbase (version 0.12.8)

cut.ff: Convert Numeric ff vector to factor ff

Description

cut divides the range of x into intervals and codes the values in x according to which interval they fall. The leftmost interval corresponds to level one, the next leftmost to level two and so on.

Usage

# S3 method for ff
cut(x, breaks, ...)

Arguments

x

a (numeric) ff object that will be cut into pieces

breaks

specifies the breaks for cutting this

...

other parameters that can be given to cut.default

Value

ff a new ff object with the newly created factor

Details

The cut method for ff with the behaviour of link{cut}

See Also

cut