coco.simple.model {CoCoCore}R Documentation

Call CoCo with setting of models

Description

Internal CoCoCore functions:

Usage

coco.simple.model(code, sub.code = FALSE, model = FALSE, 
                  type = "unconditioned", data = NULL, 
                  object = .object.of.model(model, data = data, ...), ...)

coco.simple.double(code, sub.code = FALSE, 
                   model.1 = "current", model.2 = "base", 
                   type = "unconditioned", data = NULL, 
                   object = .object.of.models(model.1, model.2, 
                                              data = data, ...), ...)

coco.string.model(code, argument = FALSE, sub.code = FALSE, model = FALSE, 
                  make.model = FALSE, 
                  push.pop = FALSE, type = "unconditioned", data = NULL, 
                  object = .object.of.model(model, data = data, ...), ...)

coco.string.double(code, argument = FALSE, sub.code = FALSE, 
                   model.1 = "current", model.2 = "base", 
                   eliminate = TRUE, 
                   make.model = FALSE, return.test = FALSE, 
                   push.pop = FALSE, type = "unconditioned", data = NULL, 
                   object = .object.of.models(model.1, model.2, 
                                              data = data, ...), ...)

Arguments

code Numeric, between 1 and 255.
sub.code Numeric.
argument A charater string, argument.
model See returnModel.
model.1 See isSubmodel.
model.2 See isSubmodel.
eliminate Logical, eliminate is TRUE then "last" is set to "current", else "last" is set to "base" before computing test when return.test is TRUE.
make.model Logical, if make.model is TRUE then a model object of the model resulting of the action is returned. See editmodel.
return.test Logical, if return.test is TRUE then a character string with the model resulting of the action is returned. See editmodel.
push.pop Logical, if push.pop is TRUE, both model arguments are numeric and the object argument is a CoCoCg object then model pointers are restored by less calls of CoCoCg. See also returnModelNumber and makeCurrent.
type A charater string. The argument type should be "unconditioned", "ok", "long.true", "double", or "long.and.double".
data See exportCoCo.
object See exportCoCo.
... Additional arguments to generate the CoCo object from the data argument. See propertyModel.

Details

These functions are not to be called by the user.

Note

coco.simple.model is called in .dispose.of.fitted.values, editModel, showFormula, showVertexOrder.

coco.simple.double is called in .show.log.lik, showDeviance, showTest.

coco.string.model is called in editModel, showTable.

coco.string.double is called in .decompose.models, editModel, showTest.

Author(s)

Jens Henrik Badsberg

References

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

See Also

call.coco.


[Package CoCoCore version 0.1.6.8 Index]