Description Usage Arguments Value Author(s) See Also Examples
Determines for given individuals state occupation times at all ages. The function is used in the Occup function
1 | state_time (Bdata,ID)
|
Bdata |
Biograph object |
ID |
Vector of IDs of individuals for whom state occupancy should be determined |
state |
Individual state occupancies at each birthday |
state.n |
State occupancies by age |
sjt_age_1 |
For each subject selected: occupation time in each state during age intervals of one year (time in years). |
tsjt |
For total of selected individuals: number of years spent in each state during age intervals of one year (all ages) (time in person-years). |
Frans Willekens and Sabine Zinn
Occup
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.