View source: R/bayesian_cure_rate_model.R
log_gompertz | R Documentation |
The Gompertz distribution as evaluated at the flexsurv package.
log_gompertz(y, a1, a2, c_under = 1e-09)
y |
observed data |
a1 |
shape parameter |
a2 |
rate parameter |
c_under |
A small positive value corresponding to the underflow threshold, e.g. c_under = 1e-9. |
A list containing the following entries
log_f |
natural logarithm of the pdf, evaluated at each datapoint. |
log_F |
natural logarithm of the CDF, evaluated at each datapoint. |
Panagiotis Papastamoulis
Christopher Jackson (2016). flexsurv: A Platform for Parametric Survival Modeling in R. Journal of Statistical Software, 70(8), 1-33. doi:10.18637/jss.v070.i08
dgompertz
log_gompertz(y = 1:10, a1 = 1, a2 = 1, c_under = 1e-9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.