This helper function provides a simple way to retrieve the lavaan model syntax from a fitted dpm::dpm() object.

get_syntax(model, print = TRUE)

Arguments

model

A dpm object.

print

Print the syntax to the console so it is formatted properly? Default is TRUE.