Learn R Programming

sem (version 2.1-0)

ram: RAM Matrix for a Structural-Equation Model

Description

Print the labelled RAM definition matrix for a structural-equation model fit by sem.

Usage

ram(object, digits=5, startvalues=FALSE)

Arguments

object
an object of class sem returned by the sem function.
digits
number of digits for printed output.
startvalues
if TRUE, start values for parameters are printed; otherwise, the parameter estimates are printed; the default is FALSE.

Value

  • A data frame containing the labelled RAM definition matrix, which is normally just printed.

See Also

sem

Examples

Run this code
# ------------- assumes that Duncan, Haller and Portes peer-influences model
# -------------     has been fit and is in sem.dhp

    ram(sem.dhp)

Run the code above in your browser using DataLab