setUseVariables {CoCoRaw}R Documentation

Declare which variables to enter

Description

Between entering specification and observations, declare which variables to enter into the CoCo object.

Usage

setUseVariables(hit = "all", set = ";", setslot = FALSE, data = NULL,
                object = .object.of.thing(data = data, ...), ...)

Arguments

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. )

Value

A character sting with the variables set to use.

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

returnNcells for example.

Examples

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);

[Package CoCoRaw version 0.1.6.8 Index]