SimVector-class: Vector object: Random parameters vector

Description Objects from the Class Slots Methods Author(s) See Also Examples

Description

This object can be used to represent a vector in SEM model. It contains free parameters, fixed values, starting values, and model misspecification. This object can be represented mean, intercept, or variance vectors.

Objects from the Class

This object is created by bind function.

Slots

free:

The free-parameter vector. Any NA elements or character elements are free. Any numeric elements are fixed as the specified number. If any free elements have the same characters (except NA), the elements are equally constrained.

popParam:

Real population parameters of the free elements.

misspec:

Model misspecification that will be added on top of the fixed and real parameters.

Methods

rawDraw

Draws data-generation parameters.

summaryShort

Provides a short summary of all information in the object

summary

Provides a thorough description of all information in the object

Author(s)

Patrick Miller (University of Notre Dame; pmille13@nd.edu) Sunthud Pornprasertmanit (psunthud@gmail.com)

See Also

SimMatrix for random parameter matrix

Examples

1
2
3
4
5
6
7
8
showClass("SimVector")

factor.mean <- rep(NA, 2)
factor.mean.starting <- c(5, 2)
AL <- bind(factor.mean, factor.mean.starting)
rawDraw(AL)
summary(AL)
summaryShort(AL)

simsem documentation built on March 29, 2021, 1:07 a.m.