check_coefs_too_large: Reading results from estimated Mplus models

View source: R/reading_from_mplus.R

check_coefs_too_largeR Documentation

Reading results from estimated Mplus models

Description

Checks if some of the columns storing the statistics in the provided data frame contain values indicating that the statistics value was to large to be written to the Mplus output (making such a column a character vector) and if so recodes such values to Inf and transforms a column to numeric vector. Also, recodes values of est, se, est_se and pval for parameters that were not estimated in the model (i.e. they were fixed) to NaNs.

Usage

check_coefs_too_large(x)

Arguments

x

a data frame storing model parameters

Value

A data frame.


tzoltak/rstyles documentation built on Dec. 4, 2024, 5:16 p.m.