Create Categories From Time Based Data

DESCRIPTION:

Create a category object from time based data. This functions is used with expected survival analysis functions.

USAGE:

tcut(x, breaks, labels, scale=1) 

REQUIRED ARGUMENTS:

x
time variable to create the categories from.
breaks
a vector defining the breakpoints for the categories.

OPTIONAL ARGUMENTS:

labels
a vector of labels for the intervals, this must be 1 less than the length of breaks.
scale
a scalar value that multiples x in the return object.

VALUE:

an object like x of class "tcut" with attributes "cutpoints" and "labels" .

SEE ALSO:

.