semptools 0.2.9.9
- Added support for 2nd order factor (see
vignette("second_order")
). (0.2.9.7) - Fixed doc due to Roxygen updated to 7.2.1. (0.2.9.7)
- Update the GitHub actions. (0.2.9.8)
- Fixed doc due to Roxygen updated to 7.2.3. (0.2.9.9)
- Fixed
set_curve()
. It should now work for bidirectional edges regardless of the order of the nodes in the specification. (0.2.9.9)
semptools 0.2.9.6
CRAN release: 2022-08-25
Fixed several problems with
pkgdown
setting.Roxygen
updated to 7.2.0 and some man pages are updated accordingly.
semptools 0.2.9.5
- Updated
set_sem_layout()
to support observed exogenous variables.
semptools 0.2.9.4
- Updated
drop_nodes()
: It now works with output without a covariance matrix (e.g, a model generated fromlavaan::lavaanify()
without data).
semptools 0.2.9.1
Bug Fix
- Fixed a bug in
set_sem_layout()
. Failed to work with models in which all factors have the same number of indicators.
semptools 0.2.9
Added
drop_nodes()
andkeep_nodes()
. They process asemPlotModel
object, which is generated bysemPlot::semPlotModel()
, drop or keep selected nodes (e.g., observed variables, latent factors) from the object. The result can then be passed tosemPlot::semPaths()
to draw a diagram without the dropped nodes.Add
layout_matrix
. A helper function for creating a layout matrix to be used bysemPlot::semPaths()
. Users specify the positions of nodes and the function will create the matrix accordingly.mark_sig()
,mark_se()
, andset_cfa_layout()
will raise an error if thesemPlot::semPaths
object has intercepts terms. These function do not support plots with intercept terms yet.Updated
change_node_label()
to support named vectors.Added
vignette("layout_matrix")
to explain how layout matrix is used insemPlot::semPaths()
, and howlayout_matrix()
can be used to construct the layout matrix.Updated the vignettes to use named vectors instead of “list of named lists” in some functions.
Updated
vignette("semptools")
to introducechange_node_label()
.magrittr
is no longer required for installing the package.
semptools 0.2.8.1
Added
change_node_label()
for changing the labels of nodes. Several other functions were modified to adapt for this function.Added
to_list_of_lists()
for converting a named vector to a list of lists. Specifying a list of lists is necessary in some cases because the a label may not be string (e.g., it may be an expression). However, in most cases, all elements are strings or numbers and so a named vector will do. This function is to be used internally by other functions, not to be used by users.
semptools 0.2.8
Fix a bug in
set_cfa_layout()
. It now will not raise an error for one-factor models.Fix some typo errors in documentation pages.
semptools 0.2.7
- Import the pipe operator from
magrittr
so users no need to load the package themselves.
semptools 0.2.6
- Update the documentation of
mark_sig()
andmark_se()
to emphasize that currently they require alavaan
output.