Description Usage Arguments Value Author(s) See Also Examples
Determines state occupied at given exact ages (birthdays). The function is used in the Occup function
1 | state_age (Bdata,age,ID)
|
Bdata |
Biograph object |
age |
Vector of ages for which state occupancy should be determined |
ID |
Vector of IDs of individuals for whom state occupancy should be determined |
nam |
Names of states that can be occupied. The list includes '-' to indicate that at that age observation did not start yet and '+' to indicate that observation ended. |
state |
State occupied at given age by each individual in the study. |
state.n |
State occupied at given age: all individuals (table). |
Frans Willekens and Sabine Zinn
Occup
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.