semptools0.3.2 package

Customizing Structural Equation Modelling Plots

add_object

Add a Fit Object to a 'qgraph' Object

add_rsq

Add R-Squares to Endogenous Variables

auto_factor_point_to

Create a Matrix for 'factor_point_to'

auto_indicator_order

Determine the Order of Indicators Automatically

auto_layout_mediation

Set the Layout of a Mediation Model Automatically

change_node_label

Change node labels

is_dv_residvar

Identify dependent Variable residual variance

keep_drop_nodes

Keep or drop nodes

lavaan_indicator_order

Determine the Order of Indicators Using a 'lavaan' Model Syntax

layout_matrix

Create the layout matrix for semPaths

mark_se

Add Standard Error Estimates to Parameter Estimates (Edge Labels)

mark_sig

Mark Parameter Estimates (Edge Labels) Based on p-Value

move_node

Move Nodes in a Plot

quick_sem_plot

Quick Plots of Common Models

rescale_layout

Rescale the Layout

rotate_resid

Rotate the residuals of selected nodes

safe_edge_label_position

Adjust Edge Label Positions to Avoid Overlapping Labels

safe_resid_position

Adjust Residual Positions

semptools-package

semptools: Customizing Structural Equation Modelling Plots

set_cfa_layout

Configure the layout of factors of a CFA graph by semPaths

set_curve

Bend or Straighten Selected edges

set_edge_attribute

Set the Attributes of Selected Edges

set_edge_color

Set the Colors of Selected Edges

set_edge_label_position

Set the positions of edge labels of selected edges

set_node_attribute

Set the Attributes of Selected Nodes

set_sem_layout

Configure the layout of factors of an SEM graph by semPlot::semPaths

to_list_of_lists

Convert a named vector to a list of lists

Most function focus on specific ways to customize a graph. They use a 'qgraph' output as the first argument, and return a modified 'qgraph' object. This allows the functions to be chained by a pipe operator.

  • Maintainer: Shu Fai Cheung
  • License: GPL-3
  • Last published: 2025-07-12