Learn R Programming

report (version 0.1.0)

report.lavaan: SEM / CFA lavaan Models Report

Description

Create a report of a lavaan model.

Usage

# S3 method for lavaan
report(
  model,
  effsize = "funder2019",
  ci = 0.95,
  standardize = TRUE,
  performance_metrics = "all",
  ...
)

Arguments

model

Model object.

effsize

Interpret the standardized parameters using a set of rules. Default corresponds to "funder2019" for linear models and "chen2010" for logistic models.

ci

Confidence Interval (CI) level. Default to 0.95 (95%).

standardize

The method used for standardizing the parameters. Can be "refit", "posthoc", "smart", "basic" or NULL (default) for no standardization. See 'Details' in standardize_parameters.

performance_metrics
...

Arguments passed to or from other methods.

Examples

Run this code
# NOT RUN {
library(report)
library(lavaan)

structure <- " visual  =~ x1 + x2 + x3
               textual =~ x4 + x5 + x6
               speed   =~ x7 + x8 + x9 "

model <- lavaan::cfa(structure, data = HolzingerSwineford1939)
report(model)
# }

Run the code above in your browser using DataLab