Learn R Programming

piecewiseSEM (version 1.2.1)

get.model.control: Formats model control arguments

Description

A helper function for sem.missing.paths and sem.partial.resid that formats a list of model control arguments to pass to update.

Usage

get.model.control(model, model.control)

Arguments

model

a linear model.

model.control

a list of control parameters corresponding to the model classes found in the SEM.

Value

Returns a list of model controls.

See Also

glm.control, glsControl, lmeControl, lmerControl, glmerControl