Package: semptools 0.3.1.3

semptools: Customizing Structural Equation Modelling Plots

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.

Authors:Shu Fai Cheung [aut, cre], Mark Hok Chio Lai [aut]

semptools_0.3.1.3.tar.gz
semptools_0.3.1.3.zip(r-4.5)semptools_0.3.1.3.zip(r-4.4)semptools_0.3.1.3.zip(r-4.3)
semptools_0.3.1.3.tgz(r-4.5-any)semptools_0.3.1.3.tgz(r-4.4-any)semptools_0.3.1.3.tgz(r-4.3-any)
semptools_0.3.1.3.tar.gz(r-4.5-noble)semptools_0.3.1.3.tar.gz(r-4.4-noble)
semptools_0.3.1.3.tgz(r-4.4-emscripten)semptools_0.3.1.3.tgz(r-4.3-emscripten)
semptools.pdf |semptools.html
semptools/json (API)
NEWS

# Install 'semptools' in R:
install.packages('semptools', repos = c('https://sfcheung.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/sfcheung/semptools/issues

Pkgdown site:https://sfcheung.github.io

Datasets:

On CRAN:

diagramgraphlavaanplotsemstructural-equation-modeling

7.04 score 6 stars 87 scripts 880 downloads 28 exports 114 dependencies

Last updated 1 months agofrom:5556e14a40. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 11 2025
R-4.5-winOKFeb 11 2025
R-4.5-macOKFeb 11 2025
R-4.5-linuxOKFeb 11 2025
R-4.4-winOKFeb 11 2025
R-4.4-macOKFeb 11 2025
R-4.3-winOKFeb 11 2025
R-4.3-macOKFeb 11 2025

Exports:add_objectadd_rsqauto_factor_point_toauto_indicator_orderchange_node_labeldrop_nodesis_dv_residvarkeep_nodeslavaan_indicator_orderlayout_matrixmark_semark_sigq_parallelq_serialq_simplequick_parallel_mediationquick_serial_mediationquick_simple_mediationrescale_layoutrotate_residset_cfa_layoutset_curveset_edge_attributeset_edge_colorset_edge_label_positionset_node_attributeset_sem_layoutto_list_of_lists

Dependencies:abindarmbackportsbase64encBHbootbslibcachemcarDatacheckmatecliclustercodacolorspacecorpcorcpp11data.tabledigestevaluatefansifarverfastmapfdrtoolfontawesomeforeignFormulafsggplot2glassoglueGPArotationgridExtragtablegtoolshighrHmischtmlTablehtmltoolshtmlwidgetsigraphisobandjpegjquerylibjsonliteknitrkutilslabelinglatticelavaanlifecyclelisrelToRlme4magrittrMASSMatrixmemoisemgcvmimimeminqamnormtmunsellmvtnormnlmenloptrnnetnumDerivOpenMxopenxlsxpbapplypbivnormpillarpkgconfigplyrpngpsychqgraphquadprogR6rappdirsrbibutilsRColorBrewerRcppRcppEigenRcppParallelRdpackreformulasreshape2rlangrmarkdownrockchalkrpartrpfrstudioapiRUnitsassscalessemsemPlotStanHeadersstringistringrtibbletinytexutf8vctrsviridisviridisLitewithrxfunXMLxtableyamlzip

A Quick Start Guide on Using semptools

Rendered fromsemptools.Rmdusingknitr::rmarkdownon Feb 11 2025.

Last update: 2023-10-15
Started: 2021-09-05

Keep or Drop Selected Variables

Rendered fromkeep_or_drop_nodes.Rmdusingknitr::rmarkdownon Feb 11 2025.

Last update: 2023-10-15
Started: 2021-09-05

Layout Matrices

Rendered fromlayout_matrix.Rmdusingknitr::rmarkdownon Feb 11 2025.

Last update: 2023-10-15
Started: 2021-09-05

Models with Second-Order Factors

Rendered fromsecond_order.Rmdusingknitr::rmarkdownon Feb 11 2025.

Last update: 2023-10-15
Started: 2022-09-04

Quick Start To set_cfa_layout

Rendered fromquick_start_cfa.Rmdusingknitr::rmarkdownon Feb 11 2025.

Last update: 2023-10-15
Started: 2020-04-19

Quick Start To set_sem_layout

Rendered fromquick_start_sem.Rmdusingknitr::rmarkdownon Feb 11 2025.

Last update: 2023-10-15
Started: 2020-04-19

Readme and manuals

Help Manual

Help pageTopics
Add a Fit Object to a 'qgraph' Objectadd_object
Add R-Squares to Endogenous Variablesadd_rsq
Create a Matrix for 'factor_point_to'auto_factor_point_to
Determine the Order of Indicators Automaticallyauto_indicator_order
Sample dataset pa_examplecfa_example
Change node labelschange_node_label
Identify dependent Variable residual varianceis_dv_residvar
Keep or drop nodesdrop_nodes keep_drop_nodes keep_nodes
Determine the Order of Indicators Using a 'lavaan' Model Syntaxlavaan_indicator_order
Create the layout matrix for semPathslayout_matrix
Add Standard Error Estimates to Parameter Estimates (Edge Labels)mark_se
Mark Parameter Estimates (Edge Labels) Based on p-Valuemark_sig
Sample dataset pa_examplepa_example
Sample dataset pa_example_3covspa_example_3covs
Quick Plots of Common Modelsquick_parallel_mediation quick_sem_plot quick_serial_mediation quick_simple_mediation q_parallel q_serial q_simple
Rescale the Layoutrescale_layout
Rotate the residuals of selected nodesrotate_resid
Sample dataset sem_2nd_order_examplesem_2nd_order_example
Sample dataset sem_examplesem_example
Configure the layout of factors of a CFA graph by semPathsset_cfa_layout
Bend or Straighten Selected edgesset_curve
Set the Attributes of Selected Edgesset_edge_attribute
Set the Colors of Selected Edgesset_edge_color
Set the positions of edge labels of selected edgesset_edge_label_position
Set the Attributes of Selected Nodesset_node_attribute
Configure the layout of factors of an SEM graph by semPlot::semPathsset_sem_layout
Convert a named vector to a list of liststo_list_of_lists