printResultsTable: Print Mplus results table formatted for publication

Description Usage Arguments Value Author(s) See Also Examples

View source: R/RFunctions.R

Description

Takes an mplusModel object returned by readModels, and formats it as a publication-ready table.

Usage

1
2
printResultsTable(mplusModel, parameters = "unstandardized",
  keepCols = c("label", "est_sig", "confint"), 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").

keepCols

A character vector of columns to retain from the results section. Standard column names are c("paramHeader", "param", "est", "se", "est_se", "pval"). Special column names added by printResultsTable are: c("est_sig", "confint", "label"). These correspond to 1) the "est" column with significance asterisks appended; 2) a formatted confidence interval; 3) a label, obtained by concatenating the "paramHeader" and "param" columns.

digits

Number of digits to round to when formatting columns. c("unstandardized", "stdyx.standardized", "stdy.standardized").

...

Logical expressions used to filter the rows of results returned.

Value

A data.frame of formatted Mplus results.

Author(s)

Caspar J. van Lissa

See Also

readModels.

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

Examples

1
#Make me!

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