From fb2b3b7ca2541caaeed9370ba751d02f1f9ee186 Mon Sep 17 00:00:00 2001 From: ecmerkle Date: Sat, 23 Mar 2024 12:06:34 -0500 Subject: [PATCH] update NEWS --- DESCRIPTION | 2 +- NEWS.md | 9 ++++++++- man/sampleData.Rd | 3 ++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 808347ed..c960ed42 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: blavaan Title: Bayesian Latent Variable Analysis -Version: 0.5-3.1246 +Version: 0.5-3.1249 Authors@R: c(person(given = "Edgar", family = "Merkle", role = c("aut", "cre"), email = "merklee@missouri.edu", diff --git a/NEWS.md b/NEWS.md index 2b01fe38..e302c828 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,12 @@ +# Version 0.5-4 +## New features +* New function sampleData() for generating data from a blavaan object. + +* Functionality for the newdata argument in blavPredict(), which can generate lv (and other) predictions for new data from a model that has already been estimated (continuous data only, target = "stan" only). + +* Bugs from 0.5-3 are fixed. + # Version 0.5-3 ## New features * Functionality to find unrestricted blocks of the model's psi matrix (lv covariance matrix). lkj priors are assigned to these unrestricted blocks, improving the positive definite issue described in the "Opaque priors" paper. @@ -16,7 +24,6 @@ ## Bugs/glitches discovered after the release: * Some models with exogenous covariates, fixed.x=TRUE, and missing data fail to converge and yield implausible parameter values (reported by DeAnne Hunter). - # Version 0.5-2 ## New features * This is a maintenance release, primarily adding the new array declaration syntax in Stan models (syntax that became available in the new version of rstan). diff --git a/man/sampleData.Rd b/man/sampleData.Rd index 78180759..d3fd28b9 100644 --- a/man/sampleData.Rd +++ b/man/sampleData.Rd @@ -8,7 +8,8 @@ posterior predictive checks, as well as prior predictive checks (setting prisamp = TRUE during model estimation).} \usage{ -sampleData(object, nrep = NULL, conditional = FALSE, type = "response", simplify = FALSE, ...) +sampleData(object, nrep = NULL, conditional = FALSE, type = "response", + simplify = FALSE, ...) } \arguments{ \item{object}{An object of class \code{\linkS4class{blavaan}}.}