powered by
Counts free parameters of a structural equation model of class singleClass, semm, or nsemm.
singleClass
semm
nsemm
count_free_parameters(model)
Returns the number of free parameters in the model (numeric).
model
A model created with specify_sem.
specify_sem
model <- specify_sem(num.x = 4, num.y = 2, num.xi = 2, num.eta = 1, xi = "x1-x2,x3-x4", eta = "y1-y2", interaction = "eta1~xi1:xi2") count_free_parameters(model)
Run the code above in your browser using DataLab