cutpoints {CoCoOldData}R Documentation

Reduce number of possible values for discrete variable

Description

Define cutpoints to transform a continuous variable into a discrete variable in CoCo. The discrete variable must prior to the use of this function be declared with the number of levels as the cutpoints will result in.

Usage

cutpoints(name, cutpoints, object = .current.coco)

Arguments

name A character string with the name of the variable.
cutpoints A vector of reals with the cutpoints.
object See exportCoCo.

Value

TRUE

Author(s)

Jens Henrik Badsberg

References

Badsberg, J.H.: A guide to CoCo, JSS, 2001 ( http://www.jstatsoft.org/v06/i04/ ) and Badsberg, J.H.: Xlisp+CoCo, Aalborg University, 1996.

See Also

read.data and enterNames.


[Package CoCoOldData version 0.1.6.7 Index]