enterList {CoCoRaw} | R Documentation |
Enter a list of cases into a CoCo object.
enterList(discrete, continuous = NULL, accumulated = FALSE, setslot = TRUE, data = NULL, object = .object.of.thing(data = data, ...), ...) enterTwoLists(discrete, continuous, accumulated = FALSE, setslot = TRUE, data = NULL, object = .object.of.thing(data = data, ...), ...)
discrete |
A vector (for enterList )
or matrix (for enterTwoList ) of numerics
for
the discrete variables.
For enterList the cases should be given
one by one in the vector.
If your.data is a data.frame
or a matrix with cases row by row
you will have to give discrete = c(t(your.data)) .
For enterTwoList the data should be given
in a data.frame or a matrix with
cases row by row.
|
continuous |
A vector or matrix of numerics for the
continuous variables. Similar to discrete . |
accumulated |
Logical, if accumulated is TRUE then the
first integer, count, in discrete for each
"case" should be the count for that case.
For enterList the length of
discrete thus have to be number of cases times
number of variables plus one,
For enterTwoList the number of columns
of discrete is number of variables plus one.
|
setslot |
See enterNames . |
data |
( See exportCoCo . ) |
object |
See exportCoCo . |
... |
( Additional arguments to generate the CoCo object
from the data argument. See propertyModel . ) |
TRUE
Jens Henrik Badsberg
Badsberg, J.H.: A guide to CoCo, JSS, 2001 ( http://www.jstatsoft.org/v06/i04/ ) and Badsberg, J.H.: Xlisp+CoCo, Aalborg University, 1996.