Latent Variable Models in R