parameters: Display Model Parameters

View source: R/methods.R

parametersR Documentation

Display Model Parameters

Description

Prints a formatted parameter table – standardized loadings, standard errors, z-values, and p-values – for one fit object or all three models in a pipeline. Analogous to the STDYX section of Mplus output.

Usage

parameters(
  x,
  model = "all",
  type = "loadings",
  suppress = 0,
  digits = 3,
  highlight_primary = TRUE
)

Arguments

x

An esem_fit, besem_fit, ewc_fit, or esem_comparison_pipeline object. To inspect parameters at a specific level of an esem_invariance result, pass the level's fit object directly (e.g. parameters(inv$models$strict)).

model

Character. When x is a pipeline, which models to show: "all" (default), "CFA", "ESEM", or "BESEM".

type

Character. "loadings" (default) shows only factor loadings; "all" also shows residual variances and, for ordered models, thresholds.

suppress

Numeric. Hide loadings with |z| below this value. Default 0 (show all).

digits

Integer. Decimal places. Default 3.

highlight_primary

Logical. Colour the target (primary) loadings using ANSI codes. Supported in RStudio and most terminals; falls back silently to plain output when colour is unavailable. Default TRUE.

Value

A data frame of class bifactory_parameters holding the standardized parameter table. Its columns are factor, item, std, se, z, p, and loading_type; a model column is added when x is a pipeline. With type = "all", rows for residual variances and thresholds are also included. Printing the object renders the formatted, colour-coded table; assign the result to use the values without console output.

On a Heywood-corrected fit, the rotation changed after the standard errors were computed. Consequently, se, z, and p are NA, while the corrected standardized loadings in std are retained. When suppress > 0, rows whose z is NA are dropped, as are rows below the suppression threshold.


bifactory documentation built on Oct. 28, 2026, 1:06 a.m.