mgSEM | R Documentation |
internal mgSEM representation
new
Creates a new mgSEM.
addModel
add a model. Expects Rcpp::List
addTransformation
adds transforamtions to a model
implied
Computes implied means and covariance matrix
fit
Fits the model. Returns objective value of the fitting function
getParameters
Returns a data frame with model parameters.
getParameterLabels
Returns a vector with unique parameter labels as used internally.
getEstimator
Returns a vector with names of the estimators used in the submodels.
getGradients
Returns a matrix with scores.
getScores
Returns a matrix with scores. Not yet implemented
getHessian
Returns the hessian of the model. Expects the labels of the parameters and the values of the parameters as well as a boolean indicating if these are raw. Finally, a double (eps) controls the precision of the approximation.
computeTransformations
compute the transformations.
setTransformationGradientStepSize
change the step size of the gradient computation for the transformations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.