Skip to contents

Main Functions

Functions for processing a plot

mark_sig()
Mark Parameter Estimates (Edge Labels) Based on p-Value
mark_se()
Add Standard Error Estimates to Parameter Estimates (Edge Labels)
set_curve()
Bend or Straighten Selected edges
set_edge_label_position()
Set the positions of edge labels of selected edges
rotate_resid()
Rotate the residuals of selected nodes
change_node_label()
Change node labels
drop_nodes() keep_nodes()
Keep or drop nodes

Layouts

Main functions for setting the layout

set_cfa_layout()
Configure the layout of factors of a CFA graph by semPaths
set_sem_layout()
Configure the layout of factors of an SEM graph by semPlot::semPaths

Layout Helpers

Helpers for setting the layout

layout_matrix()
Create the layout matrix for semPaths
auto_indicator_order()
Determine the Order of Indicators Automatically
lavaan_indicator_order()
Determine the Order of Indicators Using a 'lavaan' Model Syntax
auto_factor_point_to()
Create a Matrix for 'factor_point_to'

Other Helpers

is_dv_residvar()
Identify dependent Variable residual variance
to_list_of_lists()
Convert a named vector to a list of lists
add_object()
Add a Fit Object to a 'qgraph' Object

Datasets

Datasets used in examples and vignettes.

cfa_example
Sample dataset pa_example
pa_example
Sample dataset pa_example
pa_example_3covs
Sample dataset pa_example_3covs
sem_2nd_order_example
Sample dataset sem_2nd_order_example
sem_example
Sample dataset sem_example