tidySEM0.2.7 package

Tidy Structural Equation Modeling

chisq_sb

Satorra-Bentler corrected chi-square test

edit_graph

Edit graph elements

est_sig

Add significance asterisks to object

estimate_lavaan

Estimate tidy_sem using 'lavaan'

estimate_mplus

Estimate tidy_sem using 'Mplus'

estimate_mx

Estimate tidy_sem using 'OpenMx'

get_data

Extract data from tidy_sem

table_cors

Extract correlation tables

table_fit

Print model fit table formatted for publication

table_prob

Results table in probability scale

dictionary

Extract dictionary from tidy_sem

syntax

Extract syntax from tidy_sem

edges

Extract edges from sem_graph

pseudo_class

Estimate an Auxiliary Model using the Pseudo-Class Method

report

Report formatted number

add_paths

Add paths to an object of class 'tidy_sem'

append_class_draws

Append Pseudo-class Draws

as_lavaan

Convert tidy_sem to 'lavaan' syntax

as_mplus

Convert tidy_sem to 'Mplus' syntax

as_ram

Convert lavaan syntax to RAM specification

BCH

Estimate an Auxiliary Model using the BCH Method

BLRT

Conduct Bootstrapped Likelihood Ratio Test

class_prob

Obtain latent class probabilities

conf_int

Format confidence intervals

cors

Generate syntax for correlations

create_scales

Create scale scores from observed variables

descriptives

Describe a dataset

get_edges

Extract edges from a SEM model object

get_fit

Get fit indices from objects

get_layout

Generate graph layout

get_nodes

Extract nodes from a SEM model object

graph_sem

Render a graph

ic_weights

Compare Information Criteria

if_edit

Conditionally edit a sem_graph object

lr_lmr

Lo-Mendell-Rubin Likelihood Ratio Test

lr_test

Conduct Likelihood Ratio tests

lsub

Apply pattern replacement over a vector

measurement

Generate syntax for a measurement model

run_lavaan

Run as lavaan model

mixture_starts

Automatically set starting values for an OpenMx mixture model

mplus_expand_names

Expand abbreviated Mplus variable names

mx_dummies

Dummy Code Factor Variables

mx_growth_mixture

Estimate growth mixture models using OpenMx

mx_lca

Estimate latent class analyses using OpenMx

run_mx

Run as OpenMx model with sensible defaults

mx_mixture

Estimate mixture models using OpenMx

mx_profiles

Estimate latent profile analyses using OpenMx

mx_switch_labels

Switch LCA Class Labels

nodes

Extract nodes from sem_graph

paste2

Concatenate Strings while omitting NA

skew_kurtosis

Calculate skew and kurtosis

plot_bivariate

Create correlation plots for a mixture model

plot_density

Create density plots for mixture models

plot_growth

Plot growth trajectories

plot_prob

Plot categorical variable probabilities

plot_profiles

Create latent profile plots

poms

Apply POMS-coding to data

prepare_graph

Prepare graph data

table_results

Print results table formatted for publication

tidy_sem

Create a tidy_sem object

wald_test

Wald Test for Linear Hypotheses

A tidy workflow for generating, estimating, reporting, and plotting structural equation models using 'lavaan', 'OpenMx', or 'Mplus'. Throughout this workflow, elements of syntax, results, and graphs are represented as 'tidy' data, making them easy to customize. Includes functionality to estimate latent class analyses.

  • Maintainer: Caspar J. van Lissa
  • License: GPL (>= 3)
  • Last published: 2024-06-04