dot-updateLavaan: .updateLavaan

.updateLavaanR Documentation

.updateLavaan

Description

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

Value

lavaan model


lessSEM documentation built on May 29, 2024, 7:10 a.m.