enterNames {CoCoRaw}R Documentation

Enter a specification of variables into the CoCo object

Description

Enter a specification of variables. After specifying the variables by the function the observations should be entered by enterList or enterTable.

Usage

enterNames(names = c("a", "b", "c"), levels = c(2, 2, 2), 
           missing = NULL, setslot = TRUE, data = NULL, 
           object = .object.of.thing(data = data, ...), ...)

Arguments

names A vector of character strings with the names of the variables. If any of the names of the variables has more than one character then all the names should have colon, ":", as the first character.
levels A vector of integers. The number of levels, excluding missing levels, for each of the discrete variable. For continuous variables the number of levels should be zero, 0.
missing A vector of integers. The number of missing levels for each variable.
setslot Logical, if setslot is TRUE then the entered values are added to the CoCo object, such that the object can be recovered after ending the CoCo object by, e.g. endCoCo, or after terminating the R session and restarting R.
data See exportCoCo.
object See exportCoCo.
... Additional arguments to generate the CoCo object from the data argument. See propertyModel.

Value

TRUE

Note

Between enterNames and enterList or enterTable a subset of the variables can be selected by setUseVariables.

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

setUseVariables, excludeMissing, enterList, and enterTable.


[Package CoCoRaw version 0.1.6.7 Index]