NEWS
semPlot 1.1.5 (2022-03-08)
- Small change to a link used in an example
semPlot 1.1.4 (2022-02-21)
- Fixed issues with new lavaan version
- Small fix for CRAN
semPlot 1.1.3
- the 'ramModel' function now supports meanstructure with the 'M' argument.
- Fixed an issue with lavaan
semPlot 1.1.1 (2019-04-05)
- regsem and cv_regsem support added, thanks to Myrthe Veenman and Jason Nak!
semPlot 1.1 (2017-03-27)
- Fixed a bug with lavaan input
- Fixed a bug with OpenMx 2 input
- The 'mplusStd' argument of semPlotModel can now be used to specify standardization of mplus models
- Fixed a bug related to model constraints
- Several updates to accomidate new CRAN checks
semPlot 1.0.1 (2014-08-15)
- Fixed a dependency related bug causing examples to crash.
semPlot 1.0.0 (2014-02-11)
New features
- Added the argument 'curveAdjacent' to also curve the covariances between two adjacent nodes as curved edges.
- A frequently asked question is how to decrease the font size of edge labels. This can be done via the 'edge.label.cex' argument of the qgraph backend. But because this was not clear the argument now has been added to semPaths as well. The default is slightly smaller than the original qgraph default: 0.6 versus 1.
- Added the argument 'cardinal' that controls which edges will be linked to cardinal sides of a node. With this argument the behavior of many path diagram drawing programs can be mirrored.
- Added the 'equalizeManifests' argument to equalize the spacing between manifest variables in the 'tree1' layout.
- Added the 'covAtResiduals' argument that controls if covariances should be linked to residuals rather than nodes themselves if style="lisrel"
- Added the 'bifactor' argument to create bifactor layouts. Only supported with layouts 'tree2', 'tree3', 'circle2' and 'circle3'.
- optimizeLatRes has been improved
- Added 'optimizePoints' arguments that can be given a vector of radians residuals can optimize to if optimizeLatRes = TRUE.
Changes
- The argument curvePivot now defaults to FALSE, causing covariances by default to once again be drawn by circular curved edges.
- A list of usefull qgraph arguments that can be used in semPaths is now listed in the semPaths help page.
- 'mixCols' renamed to 'inheritColor'
- The color argument can now be assined a list for assignng specific colors to all manifests, latents or intercepts
- Some improvements to 'semCors'
Bug fixes
- Fixed a bug where using style='lisrel' did not correctly curve covariances between latents.
- Fixed a bug where 'layoutSplit' resulted in a crash if there were only two connections in the structural model and "spring" layout was used.
semPlot 0.3.3 (2013-08-30)
- Lavaan model syntax is now supported as input
- Numeric edge labels without using whatLabels argument are now correctly abbreviated
- Several small fixes
semPlot 0.3.2 (2013-05-08)
- New features
- Matrix model functionality:
- Added 'semMatrixAlgebra' to easily perform matrix algebra on any semPlot input object.
- Added 'modelMatrices' to obtain model matrices of LISREL, Mplus and RAM modeling frameworks of any input to semPlot.
- Added 'exoVar' and 'exoCov' arguments that can be used to not display variances or covariances of truly exogenous variables (no incoming directed edges)
- Added 'tree3' and 'circle3' layouts, based on Boker, S. M., McArdle, J. J., & Neale, M. (2002). An algorithm for the hierarchical organization of path diagrams and calculation of components of expected covariance. Structural Equation Modeling, 9(2), 174-194.
- Major changes
- Added edgeLabels and nodeLabels arguments to manually overwrite edge and node labels, in the order they appear in the RAM and Vars elements of the 'semPlotModel' that is created internally. In addition to the qgraph change that these can now be assigned lists including expressions it should now be easier to add Greek letters.
- MplusAutomation is no longer imported but moved to suggests list. This makes sure that the Tcl/Tk interface is not loaded on loading semPlot and as a result makes sure that semPlot does not result in crashes on Mac computers where Tcl/Tk is not installed.
- 'style' now defaults to "lisrel" if the input is a Lisrel model.
- 'style="lisrel"' will now default exoVar to FALSE.
- Changed the name of slot RAM to Pars in semPlotModel class.
- Two-level multilevel structures is now supported
- Currently this works for Mplus input only.
- Only random intercepts are supported, not random slopes.
- Thresholds are shown on the within level rather than the between level.
- New arguments to semPaths:
- Added argument thresholdSize to control the size of threshold bars
- Added 'levels' argument. This argument can be used to control the spacing between levels (e.g., exogenous latents) of tree and circle layouts.
- Added nDigits argument to control the number of digits used in rounding for labels.
- Added 'centerLevels' argument for tree2 layout, to center horizontal levels.
- Added 'panelGroups' argument to automatically create a panel plot of multiple group models.
- The 'layoutSplit' argument can be used to split computing of layout between structural and measurment models. This is very useful in more complicated models where the structural part is best shown by using a spring layout.
- Added the 'intAtSide' argument to control if intercepts should be plotted to the side of manifest nodes or at the bottom/top. Defaults only to FALSE if 'residuals=FALSE'.
- Added 'nDigits' argument to control rounding of numeric values.
- Minor changes
- Thresholds are now plotted via qgraph
- Changed argument threshold.color to thresholdColor
- 'qgraph' is no longer on the depends list but imported instead.
- 'as.expression' now defaults to "edges" if the input is a lisrel model.
- 'semPlotModel' for lisrel modes can now use dots to send arguments to 'lisrelModel'
- Added 'reduce' argument to lisrelModel that controls if variables that are named the same should be treated as the same variable.
- Shape, width and height of manifest, latent and constant variables can now be set.
- Mplus input now supports the | operator.
- Bug fixes
- Fixed a bug where numeric labels where abbreviated, causing erratic behavior on the labels.
- Fixed a bug where models with single indicator latent variables caused an error.
- Numerous small bugfixes and improvements
- Fixed a bug where variable names in mplux models containing BY, WITH or ON caused unexpected behavior.
- Assigning a matrix to the layout argument of semPaths will no longer cause a bunch or warnings.
semPlot 0.3 (2013-01-28)