- Start using
rstan (>= 2.26.0)
and the new array syntax.
- Internal non-functional changes.
- Use
rstantools >= 2.3.1
which is needed for CRAN.
- Update installation process.
- Add
@andrjohns
as contributor.
- Add more imports to NAMESPACE per a rstan developer's recommendation.
- New vignette about mathematical description of models.
- Prediction and function posterior computation at
P
points whereP
is larger than number of data points should be now much faster and take less memory, asP
xP
matrices are not computed.
- First CRAN release.
- Only small patches in documentation etc. in order to conform to CRAN policies
- Adds
prior_pred()
for prior predictive sampling andsample_param_prior()
for sampling from the parameter prior. - Adds
read_proteomics_data()
function. - Relax data type checking, to require that they only inherit from factor
or numeric. Allow also
tibble
s anddata.table
s to be passed as data. - Adds more methods for
lgpfit
andlgpmodel
objects, see their documentation. - Lot of improvements internally. Kernel computations
in functions like
pred()
should take a lot less memory now. Two separete main Stan models now. One for latent GP (signal where f is sampled) and other for GP with marginalized f. - Improved documentation.
- Improve verbose messages to user.
- Fix bug that ignored the
group_by
argument inget_teff_obs()
and caused at leastnew_x()
to not work if the subject identifier variable was called something else thanid
(see issue #22).
- Add more informative error message if trying to specify a model like
y ~ age + id | age
, which should bey ~ age + age | id
, i.e. the continuous covariate on the left of|
and categorical on the right. - New startup message that prints also
rstan
version - Update citation information
- Add the
c_hat_pred
argument topred()
, to be used whenf
has been sampled andc_hat
is not constant. Previously,c_hat = 0
was used in all prediction points, which did not make sense in all cases.
- Allow setting
group_by = NA
inplot_pred()
,plot_components()
andnew_x()
to avoid grouping in plots. - Allow setting
color_by
as the same factor asgroup_by
. - Fix bug which caused an error when trying to define a separate prior for parameters of the same type.
- Internal change for more effective computation of function (component) posterior variances.
- Add option
do_yrng
which controls whether to do draws from the predictive distribution. This was previously always done ifsample_f
wasTRUE
. That is now considered a bug because it is unnecessary work if they_rng
draws are not needed. So the default is nowdo_yrng = FALSE
, sincedo_yrng = TRUE
can cause errors with the negative binomial model due to numerical problems (see here). These problems should be addressed in a future release to allow more stable prior and posterior predictive sampling.
- Small documentation update.
- Fix bug in
get_pred()
, which was caused by not adding the GP mean to the sampled signal. This was causing postprocessing functions likerelevances()
andplot_pred()
to give erroneous results if the GP mean was not a vector of zeros andsample_f = TRUE
. - Small edits in documentation and verbose information messages.
- Make
plot_pred()
work with any response variable name (fixes issue #12). - Avoid adding
ggplot2::color_scale_manual()
if number of colors > 5 (fixes issue #11).
Edit type checking to work more generally on all systems (fixes issue #5).
Fix CITATION to point to new preprint.
Added RcppParallel dependency explicitly.
Added warning if using default prior for input warping steepness.
- More general modeling options, allowing more mixing of different types of kernels/options
- Prior and posterior predictive checks using
ppc()
, which interfaces to bayesplot.
- Formula syntax where
|
indicates interaction terms. - Alternative advanced formula syntax with
gp()
,gp_warp()
,zerosum()
etc. - Beta binomial observation model.
- Categorical covariates must now be specified as factors in data, and don't have to be numeric.
- Component relevance assessment is now separated from model fitting into the
relevances()
function and selection intoselect()
. - Easier prior specification with
normal()
,log_normal()
,student_t()
etc. - Better prediction and plotting functionality with
get_pred()
,pred()
,plot_pred()
, andplot_f()
. - Extensive argument checking (see
check_positive_all()
etc.) to give users informative error messages
- Thorough unit tests using test_that.
- C++ versions of the Stan model functions are now exposed to package namespace and also tested.
- First release.
- Earlier development versions.