Function to build the data list to give to stan
Order the data set in replicate and then in time to create a new column
i_row
used to delimited replicates.
Create a matrix of replicate and index "id_row"
Compute Nprec = lag of Nsurv
return a list of element to be passed to Stan sampler
Create a list of scalars giving priors to use in Bayesian inference.
modelData(data, model_type, ...)# S3 method for SurvData
modelData(data, model_type = c("SD", "IT"), hb_value = NULL, ...)
build_stanData(x)
build_priors(x, model_type = c("SD", "IT"), hb_value = NULL)
A list for parameterization of priors for Bayesian inference.
A list for parameterization of priors for Bayesian inference with JAGS.
An object of class SurvData
TKTD model type ('SD' or 'IT')
Further arguments to be passed to generic methods
default is NULL, can be fixed by specifying a numeric.
An object of class survData