prior_hr {survextrap} | R Documentation |
Summarises the prior for the hazard ratio implied by a particular prior on the log hazard ratio
Description
Summarises the prior for the hazard ratio implied by a particular prior on the log hazard ratio. Simply applies an exponential transform to quantiles of the given prior.
Usage
prior_hr(prior_loghr = p_normal(0, 2.5), quantiles = c(0.025, 0.5, 0.975))
Arguments
prior_loghr |
Priors for log hazard ratios. This should be a
call to The default is |
quantiles |
Quantiles used to summarise the implied prior distributions of the simulated quantities. |
Value
A vector of quantiles.
[Package survextrap version 1.0 Index]