(Version 0.1.0, updated on 2024-09-12, release history)
lavaan.printer
:
Customize The Printout of lavaan
Parameter EstimatesThis 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/
The latest developmental version of this package can be installed by
remotes::install_github
:
::install_github("sfcheung/lavaan.printer") remotes
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 illustrates how to use these functions.
If you have any suggestions and found any bugs, please feel feel to open a GitHub issue. Thanks.