Description Usage Arguments Value Examples
Create hazard from parameters of the Age-Cohort Model
1 | par2haz_ac(par, J, K)
|
par |
parameters of the age-cohort model in the form |
J |
number of age intervals |
K |
number of cohort intervals |
The hazard rate in a matrix of size K * J:
1 2 3 4 5 6 7 | ## Not run:
J <- 10
K <- 15
par <- rnorm(K + J - 1)
persp(par2haz_ac(par, J, K))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.