dot-getScores: .getScores

.getScoresR Documentation

.getScores

Description

returns the scores of a model of class Rcpp_SEMCpp. This is the internal model representation. Models of this class can be generated with the lessSEM:::.SEMFromLavaan-function.

Usage

.getScores(SEM, raw)

Arguments

SEM

model of class Rcpp_SEMCpp

raw

controls if the internal transformations of lessSEM should be used. lessSEM will use an exponential function for all variances to avoid negative variances. When set to TRUE, the scores will be given for the internal parameter representation. Set to FALSE to get the usual scores

Value

matrix with derivatives of the -2log-Likelihood for each person and parameter (rows are persons, columns are parameters)


lessSEM documentation built on May 29, 2024, 7:10 a.m.