Takes an mplusModel object returned by readModels, and extracts a publication-ready correlation matrix.

table_cor(
  mplusModel,
  parameters = "stdyx.standardized",
  valueColumn = "est_sig",
  digits = 2
)

Arguments

mplusModel

An mplusModel object, as returned by readModels.

parameters

A character string corresponding to the name of an element of the $parameters list in mplusModel. Usually one of c("unstandardized", "stdyx.standardized", "stdy.standardized").

valueColumn

Character. Which column to use to propagate the matrix. Defaults to "est_sig", the estimate with significance asterisks.

digits

Number of digits to round to when formatting values.

Value

A Matrix or a list of matrices (in case there are between/within correlation matrices).

See also

readModels.

Other Mplus functions: chisq_sb()

Examples

#Make me!