| prior_haz_const | R Documentation | 
Summarises the prior for the constant hazard implied by a particular
prior on the hazard scale parameter and M-spline specification,
when the spline coefficients are fixed to define a constant hazard
using mspline_constant_coefs.
prior_haz_const(
  mspline,
  prior_hscale = p_normal(0, 20),
  quantiles = c(0.025, 0.5, 0.975)
)
| mspline | A list of control parameters defining the spline model. 
 
 If there are external data, and both  
 
 
 | 
| prior_hscale | Prior for the baseline log hazard scale
parameter ( Note that  "Baseline" is defined by the continuous covariates taking a value of zero and factor covariates taking their reference level. To use a different baseline, the data should be transformed appropriately beforehand, so that a value of zero has a different meaning. For continuous covariates, it helps for both computation and interpretation to define the value of zero to denote a typical value in the data, e.g. the mean. | 
| quantiles | Quantiles used to summarise the implied prior distributions of the simulated quantities. | 
A data frame with columns haz for the hazard and mean for the inverse hazard (on the mean survival scale) and rows for three summary quantiles.
p_meansurv, mspline_constant_coefs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.