lavaPenalty Linear regression with regularization term First define a standard lvm model: library(lavaPenalty) m <- lvm(x=paste0("x",1:10),y="y") set.seed(10) df.data <- sim(m, 1e2) Latent variable model with regularization term