returnFix {CoCoRaw}R Documentation

Return the edges fixed in model selection

Description

Return the edges fixed (e.i. not considered for removal in the latest call of backward or not considered for entering in the latest call of forward), or edges banned or forced into the EH procedure by ehForceFix.

Usage

returnFix(code = "edges", data = NULL, 
          object = .object.of.thing(data = data, ...), ...)

Arguments

code A text string with "edges" (edges not considered for removal in the latest call of backward or not considered for entering in the latest call of forward), "in" (edges forced into EH by ehForceFix("what", fix = "in", ...)), or "out" (edges banned in EH by ehForceFix("what", fix = "out", ...)).
data ( See exportCoCo. )
object See exportCoCo.
... ( Additional arguments to generate the CoCo object from the data argument. See propertyModel. )

Value

A text string with a generating class of the fixing.

Note

Fixing of edges is set by backward, forward, and ehForceFix.

Author(s)

Jens Henrik Badsberg

See Also

forward, backward, eh, ehForceFix, returnFix and showOptions.

Examples

library(CoCo);
data(Reinis);
CoCoObject <- makeCoCo();
enterTable(Reinis, object = CoCoObject);

# Enter the saturated model:    
enterModel("*", object = CoCoObject);

# Set a fixing of edges in "backward":

backward(recursive = TRUE, headlong = TRUE, coherent = TRUE, follow = TRUE,
         fix.edges = "[[AB][EF]]", object = CoCoObject);

returnFix(object = CoCoObject);

ehForceFix("DE", fix = "in", object = CoCoObject)
ehForceFix("EF", fix = "out", object = CoCoObject)

returnFix("edges", object = CoCoObject);
returnFix("in",    object = CoCoObject);
returnFix("out",   object = CoCoObject);

eh(object = CoCoObject);

returnFix("edges", object = CoCoObject);
returnFix("in",    object = CoCoObject);
returnFix("out",   object = CoCoObject);

endCoCo(object = CoCoObject);

[Package CoCoRaw version 0.1.7.4 Index]