
Stan parameterisation of the non-parametric family
Source:R/nonparametric.R
epidist_family_param.nonparametric.RdThe delay distribution parameters are the boundaries followed by the bin
hazards, built from mu, the basis and the coefficients by the Stan
function epidist_np_params(). The boundaries and the basis are written
into the Stan code as functions returning them, see .np_stanvars().
Usage
# S3 method for class 'nonparametric'
epidist_family_param(family, ...)Arguments
- family
A description of the response distribution and link function to be used in the model. Every family function has a link argument allowing users to specify the link function to be applied on the response variable. If not specified, default links are used. For details of all supported families see
brms::brmsfamily(). Commonly used, such asbrms::lognormal(), are also reexported as part ofepidist.- ...
Additional arguments passed to
fnmethod.