internal function which returns the objective value of the fitting function of an object of class Rcpp_SEMCpp. This function can be used in optimizers
Usage
.fitFunction(par, SEM, raw)
Arguments
- par
labeled vector with parameter values
- SEM
model of class Rcpp_SEMCpp.
- raw
controls if the internal transformations of lessSEM is used.
Value
objective value of the fitting function