Last chance! 50% off unlimited learning
Sale ends in
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...
.updateLavaan(lavaanModel, key, value)
lavaan model
fitted lavaan model
label of the element that should be updated
new value for the updated element