https://github.com/sfcheung/lavaan.printer
Helpers functions for formatting and printing selected lavaan outputs
https://github.com/sfcheung/lavaan.printer
lavaan r r-package structural-equation-modeling
Last synced: 4 months ago
JSON representation
Helpers functions for formatting and printing selected lavaan outputs
- Host: GitHub
- URL: https://github.com/sfcheung/lavaan.printer
- Owner: sfcheung
- License: gpl-3.0
- Created: 2024-07-11T01:11:17.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-17T10:27:43.000Z (over 1 year ago)
- Last Synced: 2025-12-09T10:10:55.956Z (6 months ago)
- Topics: lavaan, r, r-package, structural-equation-modeling
- Language: R
- Homepage: https://sfcheung.github.io/lavaan.printer/
- Size: 1.32 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://lifecycle.r-lib.org/articles/stages.html#stable)
[](https://www.repostatus.org/#active)
[](https://CRAN.R-project.org/package=lavaan.printer)
[](https://cran.r-project.org/package=lavaan.printer)
[](https://github.com/sfcheung/lavaan.printer)
[](https://github.com/sfcheung/lavaan.printer/commits/main)
[](https://github.com/sfcheung/lavaan.printer/actions/workflows/R-CMD-check.yaml)
(Version 0.1.0.1, updated on 2024-09-17, [release history](https://sfcheung.github.io/lavaan.printer/news/index.html))
# `lavaan.printer`: Customize The Printout of `lavaan` Parameter Estimates
This package includes helper functions
for developers to customize the printout
of the parameter estimates in the output
of `lavaan`. These functions emphasize
flexibility, not user-friendliness. They
are not intended for end-users.
For more information on this package,
please visit its GitHub page:
https://sfcheung.github.io/lavaan.printer/
# Background
I wrote these two functions because I
want to customize how the parameter estimate
tables of a `lavaan` object are printed
in my packages. The style should be very
similar to that
used by the `summary()` method of `lavaan`,
such that users would find the tables
easy to read. However, it is not easy to
customize the output of `lavaan` because
it prints the formatted content directly
to the screen. Therefore, I wrote
`parameterEstimates_table_list()`
to mimic what `lavaan` does, but create
a list of tables (data frames) instead.
The [quick-start guide](https://sfcheung.github.io/lavaan.printer/articles/lavaan.printer.html)
illustrates how to use these functions.
# Installation
The stable CRAN version can be installed
by `install.packages()`:
```r
install.packages("lavaan.printer")
```
The latest developmental version of this
package can be installed by `remotes::install_github`:
```r
remotes::install_github("sfcheung/lavaan.printer")
```
# Issues
If you have any suggestions and found
any bugs, please feel feel to open a
GitHub issue. Thanks.
https://github.com/sfcheung/lavaan.printer/issues