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.7)lavaanPlot_0.8.1.zip(r-4.6)lavaanPlot_0.8.1.zip(r-4.5)
lavaanPlot_0.8.1.tgz(r-4.6-any)lavaanPlot_0.8.1.tgz(r-4.5-any)
lavaanPlot_0.8.1.tar.gz(r-4.7-any)lavaanPlot_0.8.1.tar.gz(r-4.6-any)
lavaanPlot_0.8.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
lavaanPlot/json (API)
| # 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
Pkgdown/docs site:https://lavaanplot.alexlishinski.com
Last updated from:dc2825c1be. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 138 | ||
| source / vignettes | OK | 224 | ||
| linux-release-x86_64 | OK | 136 | ||
| macos-release-arm64 | OK | 126 | ||
| macos-oldrel-arm64 | OK | 149 | ||
| windows-devel | OK | 106 | ||
| windows-release | OK | 73 | ||
| windows-oldrel | OK | 85 | ||
| wasm-release | OK | 122 |
Exports:convert_graphcreate_edgescreate_grvizcreate_nodesembed_plot_pdfextract_coefsformattinglavaanPlotlavaanPlot2save_png
Dependencies:base64encbitbit64bslibcachemclicliprcpp11crayonDiagrammeRdigestdplyrevaluatefarverfastmapfontawesomefsgenericsgluehighrhmshtmltoolshtmlwidgetsigraphjquerylibjsonliteknitrlabelinglatticelavaanlifecyclemagrittrMASSMatrixmemoisemimemnormtnumDerivpbivnormpillarpkgconfigprettyunitsprogresspurrrquadprogR6rappdirsRColorBrewerreadrrlangrmarkdownrstudioapisassscalesstringistringrtibbletidyrtidyselecttinytextzdbutf8vctrsviridisLitevisNetworkvroomwithrxfunyaml
Last update: 2024-01-26
Started: 2017-06-09
Last update: 2023-02-17
Started: 2022-09-12
Last update: 2022-09-12
Started: 2022-04-13
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 |
