setUseVariables {CoCoRaw} | R Documentation |
Between entering specification and observations, declare which variables to enter into the CoCo object.
setUseVariables(hit = "all", set = ";", setslot = FALSE, data = NULL, object = .object.of.thing(data = data, ...), ...)
hit |
Character string with "all" , "what"
or a set of variables. |
set |
Character string with set of variables. |
setslot |
See enterNames . |
data |
( See exportCoCo . ) |
object |
See exportCoCo . |
... |
( Additional arguments to generate the CoCo object
from the data argument. See propertyModel . ) |
A character sting with the variables set
to use.
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.
returnNcells
for example.
library(CoCo); data(Reinis); CoCoObject <- makeCoCo(); enterTable(Reinis, object = CoCoObject); numberVariates(object = CoCoObject); Specification <- returnVariableDescription(object = CoCoObject); setUseVariables(paste(Specification$names[c(1,3,4,6)], collapse = ""), object = CoCoObject); enterTable(c(Reinis), object = CoCoObject); numberVariates(object = CoCoObject); numberVariates(full = TRUE, object = CoCoObject); showOptions("specification", object = CoCoObject); endCoCo(object = CoCoObject);