set_sem_layout()to support observed exogenous variables.
set_sem_layout(). Failed to work with models in which all factors have the same number of indicators.
keep_nodes(). 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
semPlot::semPaths(). Users specify the positions of nodes and the function will create the matrix accordingly.
change_node_label() to support named vectors.
Updated the vignettes to use named vectors instead of “list of named lists” in some functions.
magrittr is no longer required for installing the package.
change_node_label() for changing the labels of nodes. Several other functions were modified to adapt for this function.
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.