- Breaking changes:
- We remove the copied/reexported
save_as_docx
and the
like in favour of explicitly calling
flextable::save_as_docx
. This way we are not creating
namespace conflicts for these functions, we are consistent with the new
approach in rempsyc
, and it also gives credit to the
flextable
package, as this is the powerhouse that produces
the tables under the hood.
nice_fit
now requires a list of models (or a single
model), so it will not accept models loosely provided in the function as
different arguments. This is because we get rid of the dot-dot-dot
...
argument in favour of supporting list objects.
nice_fit
now has an added footnote reference to
Schreiber et al. (2006) for fit indices references when using
nice_table = TRUE
.
nice_fit
: gains a model.labels
argument to
customize the model names in the table.
lavaan_ind
gains an argument,
underscores_to_arrows
, to replace underscores by arrows for
the indirect effect column, so that indirect effects are more quickly
visually interpretable.
nice_tidySEM
: More meaningful error message when
providing unmatching label names.
nice_fit
look improved when using
nice_table = TRUE
rempsyc
package dependency is now on CRAN, so we can
rely on it normally now (yeah!).
- Adding test coverage (100% so far!).
- Preparing for CRAN.
nice_tidySEM
: Gains the label_location
and
...
arguments.
nice_tidySEM
: Corrected bug when not providing a
structure/matrix layout.
- Added new function:
nice_tidySEM
, for a quick and
decent-looking tidySEM
plot with sensical (but
customizable) defaults.
write_lavaan
: Exciting news! Automatic indirect effects
now seemingly support any combination of IV, moderator, and DV!
write_lavaan
: Automatic indirect effects now support
another scenario: two mediators and three IVs!
- Added new function:
nice_lavaanPlot
, for a quick and
decent-looking lavaanPlot
with sensical (but customizable)
defaults.
write_lavaan
: Automatic indirect effects now support
another scenario: two mediators and two IVs!
write_lavaan
: Fixed bug with automatic indirect effects
when more than 1 mediator making forbidden paths (two mediators tested
successfully)
cfa_fit_plot
:
- Adds ellipsis to pass any desired argument to
lavaan::cfa
, and thus removes the default
missing = "fiml"
which was causing a bug with
estimator = DWLS
.
- Changes the default from saving to PDF to opening in RStudio Viewer,
and adds an additional
save.as.pdf
argument to save as
PDF.
- Now imports
flextable::save_as_docx
(and
save_as_html
, save_as_image
,
save_as_pptx
…) to support saving the nice_fit
tables to Word without having to explicitly load flextable
or rempsyc
.
- Added package logo!
- Added new function:
cfa_fit_plot
to simultaneously
print, save, and plot the CFA results.
- Added new arguments/symbols:
constraint.equal
(==
), constraint.smaller
(<
),
constraint.larger
(>
), custom
(accepts a single, lavaan-like string)
- Added automatic indirect effects