View source: R/calc_gompertz.R
calc_gompertz_joint_parameters | R Documentation |
Calculating the Gompertz model parameters for joint survival
calc_gompertz_joint_parameters(
p1 = list(age = NULL, mode = NULL, dispersion = NULL),
p2 = list(age = NULL, mode = NULL, dispersion = NULL),
max_age = 120
)
p1 |
A list with |
p2 |
A list with |
max_age |
A numeric. The maximum age for the Gompertz model. |
A list containing:
data |
A data frame with survival rates for 'p1', 'p2', 'joint' survival, and the fitted Gompertz model |
mode |
The mode of the joint Gompertz distribution |
dispersion |
The dispersion parameter of the joint Gompertz distribution |
calc_gompertz_joint_parameters(
p1 = list(
age = 65,
mode = 88,
dispersion = 10.65
),
p2 = list(
age = 60,
mode = 91,
dispersion = 8.88
),
max_age = 110
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.