umx (version 1.9.1)

umxAdd1: umxAdd1

Description

Add each of a set of paths you provide to the model, returning a table of their effects on fit.

Usage

umxAdd1(model, pathList1 = NULL, pathList2 = NULL, arrows = 2, maxP = 1)

Arguments

model

an mxModel to alter

pathList1

a list of variables to generate a set of paths

pathList2

an optional second list: IF set paths will be from pathList1 to members of this list

arrows

Make paths with one or two arrows

maxP

The threshold for returning values (defaults to p==1 - all values)

Value

a table of fit changes

References

- http://www.github.com/tbates/umx

See Also

Other Modify or Compare Models: umxDrop1, umxEquate, umxFixAll, umxMI, umxSetParameters, umxUnexplainedCausalNexus, umx

Examples

Run this code
# NOT RUN {
model = umxAdd1(model)
# }

Run the code above in your browser using DataLab