corTable: Extract correlation tables from mplusModel

Description Usage Arguments Value Author(s) See Also Examples

View source: R/RFunctions.R

Description

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

Usage

1
2
corTable(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).

Author(s)

Caspar J. van Lissa

See Also

readModels.

Other Mplus functions: MplusConstrainModels, SBChisquare, SB_chisq_Pvalues, conf_int, est_sig, mplusToTable, param_label, printResultsTable, rbind_tables

Examples

1
#Make me!

cjvanlissa/motley documentation built on Sept. 23, 2019, 7:39 p.m.