objective.functions {sem} | R Documentation |
These functions return objective functions suitable for use with optimizers called by sem
. The user would not
normally call these functions directly, but rather supply one of them in the objective
argument to
sem
. Users may also write their own objective functions.
objectiveML(gradient=TRUE) objectiveGLS(gradient=FALSE)
gradient |
If |
These functions return an object of class "semObjective"
, with up to two elements:
objective |
an objective function. |
gradient |
a gradient function. |
John Fox jfox@mcmaster.ca
See sem
.