currentCoCo {CoCoObjects} | R Documentation |
Mark a CoCo object as .current.coco
,
default CoCo object for the CoCo functions.
currentCoCo(object = .current.coco) makeCurrentCoCo(object.number)
object |
See endCoCo . |
object.number |
Numeric, the number of the CoCo object. |
The a
-te row of .coco.identifications
is assigned to .current.coco
in .GlobalEnv
by makeCurrentCoCo
.
A CoCo, a CoCoCg, and a model CoCo model object
is accepted as the argument object
to currentCoCo
.
TRUE
Jens Henrik Badsberg
Badsberg, J.H.: Xlisp+CoCo, Aalborg University, 1996.
library(CoCo); data(Reinis); CoCoReinisObject <- makeCoCo(); enterTable(Reinis, object = CoCoReinisObject); fullReinisModel <- makeModel(enterModel("*", object = CoCoReinisObject)); library(CoCoCg); data(Rats); CoCoRatsObject <- makeCoCoCg(); enterDataFrame(Rats, object = CoCoRatsObject); fullRatsModel <- makeModel(enterModel("*", object = CoCoRatsObject)); showModel(); showModel(fullReinisModel); makeCurrentCoCo(1); showModel(); endCoCo(object = CoCoReinisObject); makeCurrentCoCo(2); endCoCo(object = CoCoRatsObject);