updates a lavaan model. lavaan has an update function that does exactly that,
but it seems to not work with testthat. This is an attempt to hack around the
issue...
Usage
.updateLavaan(lavaanModel, key, value)
Arguments
- lavaanModel
fitted lavaan model
- key
label of the element that should be updated
- value
new value for the updated element