ehForceFix {CoCoRaw}R Documentation

Fix edges or terms of the models in the EH procedure

Description

Force terms into or out of models in the EH procedure. By ehForceFix(gc, fix = "in", ...) edges (or generators) are forced into all the models in the EH-procedure. By ehForceFix(gc, fix = "out", ...) all terms containing a generator in the generating class gc are excluded from all models considered in the EH-procedure.

Usage

ehForceFix(gc = "what", fix = "out", add.fix = FALSE, redo.fix = FALSE, 
           data = NULL, object = .object.of.thing(data = data, ...), ...)

Arguments

gc A character string. The argument gc is a generating class.
fix A character string. The argument fix should be "out" ( ... ), or "in" ( ... ).
add.fix Logical. ehForceFix(gc, fix = "out", ...) will clear the fixing set by previous use of ehForceFix(gc, fix = "out", ...), if add.fix is FALSE. If add.fix is TRUE then the terms are added to the fixing. Similar for ehForceFix(gc, fix = "in", ...).
redo.fix Logical, if redo.fix is TRUE then the fixing is repeated. ehForceFix(gc, fix = "out", redo.fix = TRUE, ...) will redo the combination of the last ehForceFix(gc, fix = "out", ...) and following ehForceFix(gc, fix = "out", add.fix = TRUE, ...). Fixing set by ehForceFix(gc, fix = "in", ...) is then modified according to the fixing out. Similar for ehForceFix(gc, fix = "in", redo.fix = TRUE, ...).
data See exportCoCo.
object See exportCoCo.
... Additional arguments to generate the CoCo object from the data argument. See propertyModel.

Details

Terms set by ehForceFix(gc, fix = "out", ...) is the dual representation of the maximal models considered, see pp. 340 Edwards & Havranek (1985). To exclude edges in the graphical search only generators with cardinality 2 (edges) should be given to ehForceFix(gc, fix = "out", ...).

Value

TRUE

Note

Using the function ehForceFix will only set up fixing for future models visited be eh. Thus if the EH-procedure already has been used the duals and the model classes should be disposed of be disposeOfEh.

ehForceFix(gc, fix = "out", ...) and ehForceFix(gc, fix = "in", ...) will interact:

Terms set by ehForceFix(gc, fix = "in", ...) are remove from the terms set by ehForceFix(gc, fix = "out", ...): Terms set by ehForceFix(gc, fix = "in", ...) are added to the generating class achieved by transforming ehForceFix(gc, fix = "out", ...) from the dual representation to the normal representation, and the resulting generating class is transformed back to the dual representation.

Term set by ehForceFix(gc, fix = "out", ...) are remove from the terms set by ehForceFix(gc, fix = "in", ...): The terms set by ehForceFix(gc, fix = "in", ...) is restricted to the generating class achieved by transforming ehForceFix(gc, fix = "out", ...) from the dual representation to the normal representation.

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

eh and returnFix.


[Package CoCoRaw version 0.1.6.8 Index]