All functions

add_paths()

Add paths to an object of class 'tidy_sem'

as_lavaan()

Convert tidy_sem to 'lavaan' syntax

as_mplus()

Convert tidy_sem to 'Mplus' syntax

as_ram()

Convert lavaan syntax to RAM specification

conf_int()

Format confidence intervals

cors()

Generate syntax for correlations

create_scales()

Create scale scores from observed variables

curry_mac

Simulated MAC data

descriptives()

Describe a dataset

dictionary() `dictionary<-`()

Extract dictionary from tidy_sem

edges() `edges<-`()

Extract edges from sem_graph

edit_graph() edit_nodes() edit_edges()

Edit graph elements

empathy

Simulated empathy data

estimate_lavaan()

Estimate tidy_sem using 'lavaan'

estimate_mplus()

Estimate tidy_sem using 'Mplus'

est_sig()

Add significance asterisks to object

get_data() `get_data<-`()

Extract data from tidy_sem

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

if_edit() if_edges() if_nodes() all_sig() hide_sig() show_sig() colour_sig() color_sig() linetype_sig() size_sig() alpha_sig() fill_sig() label_colour_sig() label_color_sig() label_fill_sig() label_size_sig() label_alpha_sig() label_family_sig() label_fontface_sig() label_hjust_sig() label_vjust_sig() label_lineheight_sig() label_location_sig() all_nonsig() hide_nonsig() show_nonsig() colour_nonsig() color_nonsig() linetype_nonsig() size_nonsig() alpha_nonsig() fill_nonsig() label_colour_nonsig() label_color_nonsig() label_fill_nonsig() label_size_nonsig() label_alpha_nonsig() label_family_nonsig() label_fontface_nonsig() label_hjust_nonsig() label_vjust_nonsig() label_lineheight_nonsig() label_location_nonsig() all_fixed() hide_fixed() show_fixed() colour_fixed() color_fixed() linetype_fixed() size_fixed() alpha_fixed() fill_fixed() label_colour_fixed() label_color_fixed() label_fill_fixed() label_size_fixed() label_alpha_fixed() label_family_fixed() label_fontface_fixed() label_hjust_fixed() label_vjust_fixed() label_lineheight_fixed() label_location_fixed() all_pos() hide_pos() show_pos() colour_pos() color_pos() linetype_pos() size_pos() alpha_pos() fill_pos() label_colour_pos() label_color_pos() label_fill_pos() label_size_pos() label_alpha_pos() label_family_pos() label_fontface_pos() label_hjust_pos() label_vjust_pos() label_lineheight_pos() label_location_pos() all_neg() hide_neg() show_neg() colour_neg() color_neg() linetype_neg() size_neg() alpha_neg() fill_neg() label_colour_neg() label_color_neg() label_fill_neg() label_size_neg() label_alpha_neg() label_family_neg() label_fontface_neg() label_hjust_neg() label_vjust_neg() label_lineheight_neg() label_location_neg() all_var() hide_var() show_var() colour_var() color_var() linetype_var() size_var() alpha_var() label_colour_var() label_color_var() label_fill_var() label_size_var() label_alpha_var() label_family_var() label_fontface_var() label_hjust_var() label_vjust_var() label_lineheight_var() all_cov() hide_cov() show_cov() colour_cov() color_cov() linetype_cov() size_cov() alpha_cov() label_colour_cov() label_color_cov() label_fill_cov() label_size_cov() label_alpha_cov() label_family_cov() label_fontface_cov() label_hjust_cov() label_vjust_cov() label_lineheight_cov() label_location_cov() all_reg() hide_reg() show_reg() colour_reg() color_reg() linetype_reg() size_reg() alpha_reg() label_colour_reg() label_color_reg() label_fill_reg() label_size_reg() label_alpha_reg() label_family_reg() label_fontface_reg() label_hjust_reg() label_vjust_reg() label_lineheight_reg() label_location_reg() all_load() hide_load() show_load() colour_load() color_load() linetype_load() size_load() alpha_load() label_colour_load() label_color_load() label_fill_load() label_size_load() label_alpha_load() label_family_load() label_fontface_load() label_hjust_load() label_vjust_load() label_lineheight_load() label_location_load() all_obs() hide_obs() show_obs() colour_obs() color_obs() linetype_obs() size_obs() alpha_obs() fill_obs() label_colour_obs() label_color_obs() label_fill_obs() label_size_obs() label_alpha_obs() label_family_obs() label_fontface_obs() label_hjust_obs() label_vjust_obs() label_lineheight_obs() all_latent() hide_latent() show_latent() colour_latent() color_latent() linetype_latent() size_latent() alpha_latent() fill_latent() label_colour_latent() label_color_latent() label_fill_latent() label_size_latent() label_alpha_latent() label_family_latent() label_fontface_latent() label_hjust_latent() label_vjust_latent() label_lineheight_latent() all_sig_nodes() hide_sig_nodes() show_sig_nodes() colour_sig_nodes() color_sig_nodes() linetype_sig_nodes() size_sig_nodes() alpha_sig_nodes() label_colour_sig_nodes() label_color_sig_nodes() label_fill_sig_nodes() label_size_sig_nodes() label_alpha_sig_nodes() label_family_sig_nodes() label_fontface_sig_nodes() label_hjust_sig_nodes() label_vjust_sig_nodes() label_lineheight_sig_nodes() all_nonsig_nodes() hide_nonsig_nodes() show_nonsig_nodes() colour_nonsig_nodes() color_nonsig_nodes() linetype_nonsig_nodes() size_nonsig_nodes() alpha_nonsig_nodes() label_colour_nonsig_nodes() label_color_nonsig_nodes() label_fill_nonsig_nodes() label_size_nonsig_nodes() label_alpha_nonsig_nodes() label_family_nonsig_nodes() label_fontface_nonsig_nodes() label_hjust_nonsig_nodes() label_vjust_nonsig_nodes() label_lineheight_nonsig_nodes() all_fixed_nodes() hide_fixed_nodes() show_fixed_nodes() colour_fixed_nodes() color_fixed_nodes() linetype_fixed_nodes() size_fixed_nodes() alpha_fixed_nodes() label_colour_fixed_nodes() label_color_fixed_nodes() label_fill_fixed_nodes() label_size_fixed_nodes() label_alpha_fixed_nodes() label_family_fixed_nodes() label_fontface_fixed_nodes() label_hjust_fixed_nodes() label_vjust_fixed_nodes() label_lineheight_fixed_nodes() all_pos_nodes() hide_pos_nodes() show_pos_nodes() colour_pos_nodes() color_pos_nodes() linetype_pos_nodes() size_pos_nodes() alpha_pos_nodes() label_colour_pos_nodes() label_color_pos_nodes() label_fill_pos_nodes() label_size_pos_nodes() label_alpha_pos_nodes() label_family_pos_nodes() label_fontface_pos_nodes() label_hjust_pos_nodes() label_vjust_pos_nodes() label_lineheight_pos_nodes() all_neg_nodes() hide_neg_nodes() show_neg_nodes() colour_neg_nodes() color_neg_nodes() linetype_neg_nodes() size_neg_nodes() alpha_neg_nodes() label_colour_neg_nodes() label_color_neg_nodes() label_fill_neg_nodes() label_size_neg_nodes() label_alpha_neg_nodes() label_family_neg_nodes() label_fontface_neg_nodes() label_hjust_neg_nodes() label_vjust_neg_nodes() label_lineheight_neg_nodes() all_sig_edges() hide_sig_edges() show_sig_edges() colour_sig_edges() color_sig_edges() linetype_sig_edges() size_sig_edges() alpha_sig_edges() label_colour_sig_edges() label_color_sig_edges() label_fill_sig_edges() label_size_sig_edges() label_alpha_sig_edges() label_family_sig_edges() label_fontface_sig_edges() label_hjust_sig_edges() label_vjust_sig_edges() label_lineheight_sig_edges() all_nonsig_edges() hide_nonsig_edges() show_nonsig_edges() colour_nonsig_edges() color_nonsig_edges() linetype_nonsig_edges() size_nonsig_edges() alpha_nonsig_edges() label_colour_nonsig_edges() label_color_nonsig_edges() label_fill_nonsig_edges() label_size_nonsig_edges() label_alpha_nonsig_edges() label_family_nonsig_edges() label_fontface_nonsig_edges() label_hjust_nonsig_edges() label_vjust_nonsig_edges() label_lineheight_nonsig_edges() all_fixed_edges() hide_fixed_edges() show_fixed_edges() colour_fixed_edges() color_fixed_edges() linetype_fixed_edges() size_fixed_edges() alpha_fixed_edges() label_colour_fixed_edges() label_color_fixed_edges() label_fill_fixed_edges() label_size_fixed_edges() label_alpha_fixed_edges() label_family_fixed_edges() label_fontface_fixed_edges() label_hjust_fixed_edges() label_vjust_fixed_edges() label_lineheight_fixed_edges() all_pos_edges() hide_pos_edges() show_pos_edges() colour_pos_edges() color_pos_edges() linetype_pos_edges() size_pos_edges() alpha_pos_edges() label_colour_pos_edges() label_color_pos_edges() label_fill_pos_edges() label_size_pos_edges() label_alpha_pos_edges() label_family_pos_edges() label_fontface_pos_edges() label_hjust_pos_edges() label_vjust_pos_edges() label_lineheight_pos_edges() all_neg_edges() hide_neg_edges() show_neg_edges() colour_neg_edges() color_neg_edges() linetype_neg_edges() size_neg_edges() alpha_neg_edges() label_colour_neg_edges() label_color_neg_edges() label_fill_neg_edges() label_size_neg_edges() label_alpha_neg_edges() label_family_neg_edges() label_fontface_neg_edges() label_hjust_neg_edges() label_vjust_neg_edges() label_lineheight_neg_edges()

Conditionally edit a sem_graph object

lsub()

Apply pattern replacement over a vector

measurement()

Generate syntax for a measurement model

mixture_starts()

Automatically set starting values for an OpenMx mixture model

mplus_expand_names()

Expand abbreviated Mplus variable names

mx_growth_mixture()

Estimate growth mixture models using OpenMx

mx_mixture()

Estimate mixture models using OpenMx

mx_profiles()

Estimate latent profile analyses using OpenMx

nodes() `nodes<-`()

Extract nodes from sem_graph

paste2()

Concatenate Strings while omitting NA

prepare_graph()

Prepare graph data

run_lavaan()

Run as lavaan model

run_mx()

Run as OpenMx model with sensible defaults

skew_kurtosis()

Calculate skew and kurtosis

syntax() `syntax<-`()

Extract syntax from tidy_sem

table_cors()

Extract correlation tables

table_results()

Print results table formatted for publication

tidy_sem()

Create a tidy_sem object