auto_factor_point_to()for creating the
set_sem_layout()to allow users to use a named vector for the
lavaan_indicator_order()for setting indicator order in
set_cfa_layout(). Can handle nodes with labels changed. (0.2.9.18, 0.2.9.24)
indicator_factorautomatically if not supplied. Node labels must be string for this option to work. (0.2.9.18, 0.2.9.23)
pkgdownarticles on setting the layout for a model with both latent factors and exogenous observed variables. (0.2.9.25)
set_cfa_layout()to work for LISREL-style graphs. (0.2.9.13)
set_cfa_layout()to work for a model without factor covariances (e.g.,
exoCov = FALSEwhen calling
auto_factor_point_to(): Cells with no direction specified is now set to
DoNotPlot = TRUEin all tests to prevent
semPlot::semPaths()from plotting the graphs in the tests. (0.2.9.17, 0.2.9.20)
dplyrfunctions from the code and removed
auto_factor_point_to(). The “factor” may be a manifest variable without indicators. (0.2.9.20)
change_node_label2, which was not exported, from the help page. (0.2.9.26, 0.2.9.27)
set_sem_layout()more informative. (0.2.9.28)
semPlot::lat()) to check nodes in
keep_nodes(). As a consequence, the
semPlotpackage is now in the Import section. (More native functions will be used in the future to ensure compatibility.) (0.2.9.11)
set_curve(). It should now work for bidirectional edges regardless of the order of the nodes in the specification. (0.2.9.9)
Fixed several problems with
Roxygen updated to 7.2.0 and some man pages are
set_sem_layout()to support observed exogenous variables.
drop_nodes(): It now works with output without a covariance matrix (e.g, a model generated from
set_sem_layout(). Failed to work with models in which all factors have the same number of indicators.
They process a
semPlotModel object, which is generated by
semPlot::semPlotModel(), drop or keep selected nodes (e.g.,
observed variables, latent factors) from the object. The result can then
be passed to
semPlot::semPaths() to draw a diagram without
the dropped nodes.
layout_matrix. A helper function for creating a
layout matrix to be used by
specify the positions of nodes and the function will create the matrix
set_cfa_layout() will raise an error if the
semPlot::semPaths object has intercepts terms. These
function do not support plots with intercept terms yet.
change_node_label() to support named
vignette("layout_matrix") to explain how
layout matrix is used in
semPlot::semPaths(), and how
layout_matrix() can be used to construct the layout
Updated the vignettes to use named vectors instead of “list of named lists” in some functions.
vignette("semptools") to introduce
magrittr is no longer required for installing the
change_node_label() for changing the labels of
nodes. Several other functions were modified to adapt for this
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.
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.
magrittrso users no need to load the package themselves.
mark_se()to emphasize that currently they require a
pkgdownto build a site. The first draft, with minimal customization.