Package: lavaanPlot 0.8.1
lavaanPlot: Path Diagrams for 'Lavaan' Models via 'DiagrammeR'
Plots path diagrams from models in 'lavaan' using the plotting functionality from the 'DiagrammeR' package. 'DiagrammeR' provides nice path diagrams via 'Graphviz', and these functions make it easy to generate these diagrams from a 'lavaan' path model without having to write the DOT language graph specification.
Authors:
lavaanPlot_0.8.1.tar.gz
lavaanPlot_0.8.1.zip(r-4.5)lavaanPlot_0.8.1.zip(r-4.4)lavaanPlot_0.8.1.zip(r-4.3)
lavaanPlot_0.8.1.tgz(r-4.4-any)lavaanPlot_0.8.1.tgz(r-4.3-any)
lavaanPlot_0.8.1.tar.gz(r-4.5-noble)lavaanPlot_0.8.1.tar.gz(r-4.4-noble)
lavaanPlot_0.8.1.tgz(r-4.4-emscripten)lavaanPlot_0.8.1.tgz(r-4.3-emscripten)
lavaanPlot.pdf |lavaanPlot.html✨
lavaanPlot/json (API)
NEWS
# Install 'lavaanPlot' in R: |
install.packages('lavaanPlot', repos = c('https://alishinski.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/alishinski/lavaanplot/issues
Last updated 10 months agofrom:9ed0816d67. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 03 2024 |
R-4.5-win | OK | Nov 03 2024 |
R-4.5-linux | OK | Nov 03 2024 |
R-4.4-win | OK | Nov 03 2024 |
R-4.4-mac | OK | Nov 03 2024 |
R-4.3-win | OK | Nov 03 2024 |
R-4.3-mac | OK | Nov 03 2024 |
Exports:convert_graphcreate_edgescreate_grvizcreate_nodesembed_plot_pdfextract_coefsformattinglavaanPlotlavaanPlot2save_png
Dependencies:base64encbitbit64bslibcachemclicliprcolorspacecpp11crayonDiagrammeRdigestdplyrevaluatefansifarverfastmapfontawesomefsgenericsgluehighrhmshtmltoolshtmlwidgetsigraphjquerylibjsonliteknitrlabelinglatticelavaanlifecyclemagrittrMASSMatrixmemoisemimemnormtmunsellnumDerivpbivnormpillarpkgconfigprettyunitsprogresspurrrquadprogR6rappdirsRColorBrewerreadrrlangrmarkdownrstudioapisassscalesstringistringrtibbletidyrtidyselecttinytextzdbutf8vctrsviridisLitevisNetworkvroomwithrxfunyaml
Conditional Formatting
Rendered fromConditional_Formatting.Rmd
usingknitr::rmarkdown
on Nov 03 2024.Last update: 2023-02-17
Started: 2022-09-12
Improvements to lavaanPlot
Rendered fromImprovements_to_lavaanPlot.Rmd
usingknitr::rmarkdown
on Nov 03 2024.Last update: 2022-09-12
Started: 2022-04-13
Intro to lavaanPlot
Rendered fromIntro_to_lavaanPlot.Rmd
usingknitr::rmarkdown
on Nov 03 2024.Last update: 2024-01-26
Started: 2017-06-09
lavaanPlot: Saving and Embedding Plots
Rendered fromSave_and_embed.Rmd
usingknitr::rmarkdown
on Nov 03 2024.Last update: 2022-04-03
Started: 2021-02-03
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Builds the Diagrammer function call. | buildCall |
Adds variable labels to the Diagrammer plot function call. | buildLabels |
Extracts the paths from the lavaan model. | buildPaths |
Uses the diagrammeR functions to turn the ndf and edf into dot | convert_graph |
Creates edge data frame and adds formatting | create_edges |
Creates the grViz dot language code for plotting | create_grviz |
Creates node data frame and adds formatting | create_nodes |
Embeds a plot into an rmarkdown pdf | embed_plot_pdf |
Creates a data frame of the parameter table from lavaan model | extract_coefs |
Enables conditional formatting for different parts of the model | formatting |
Extracts the paths from the lavaan model. | getNodes |
Plots lavaan path model with DiagrammeR | lavaanPlot |
Plots lavaan path model with DiagrammeR | lavaanPlot2 |
Saves a plot as a png | save_png |
Generates standard significance stars | sig_stars |