parameter_estimates {modsem}R Documentation

Extract parameterEstimates from an estimated model

Description

Extract parameterEstimates from an estimated model

Usage

parameter_estimates(object, ...)

## S3 method for class 'lavaan'
parameter_estimates(object, colon.pi = TRUE, ...)

## S3 method for class 'modsem_da'
parameter_estimates(object, ...)

## S3 method for class 'modsem_mplus'
parameter_estimates(object, ...)

## S3 method for class 'modsem_pi'
parameter_estimates(object, colon.pi = FALSE, ...)

Arguments

object

An object of class modsem_pi, modsem_da, or modsem_mplus

...

Additional arguments passed to other functions

colon.pi

Should colons (:) be added to the interaction terms (E.g., 'XZ' -> 'X:Z')?

Methods (by class)

Examples

m1 <- '
  # Outer Model
  X =~ x1 + x2 + x3
  Z =~ z1 + z2 + z3
  Y =~ y1 + y2 + y3

  # Inner Model
  Y ~ X + Z + X:Z
'
# Double centering approach
est_dca <- modsem(m1, oneInt)

pars <- parameter_estimates(est_dca) # no correction

# Pretty summary
summarize_partable(pars)

# Only print the data.frame
pars

[Package modsem version 1.0.11 Index]