currentCoCo {CoCoObjects}R Documentation

Make CoCo object to default CoCo object

Description

Shift between CoCo objects for default CoCo object.

Usage

currentCoCo(object = .current.coco)

makeCurrentCoCo(object.number)

Arguments

object See endCoCo.
object.number Numeric, the number of the CoCo object.

Details

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.

Value

TRUE

Author(s)

Jens Henrik Badsberg

References

Badsberg, J.H.: Xlisp+CoCo, Aalborg University, 1996.

See Also

currentCoCo.

Examples

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

[Package CoCoObjects version 0.1.6.5 Index]