Parameters(Bdata,newnamstates)
2. numstates: number of states in the state space (produced by StateSpace)
3. namstates: labels for the states (determined from the character variable
4. absorbstates: vector of absorbing states (determined by StateSpace)
6. iagelow: lowest age in the (sample) population (determined from date at entry in observation and date of birth)
7. iagehigh: highest age in the (sample) population (determined from date at exit from observation and date of birth)
8. namage: labels for the single years of age from the lowest age (iagelow) to the highest age (iagehigh)
9. nage: number of age groups: iagehigh - iagelow + 1
10. maxtrans: maximum number of transitions
11. ntrans: number of transitions
12. trans_possible: transition matrix: feasible transitions
12. tmat: matrix with transition numbers
13. transitions: identifications of transitions: number, origin, destination
14. nntrans: transition counts by origin and destination
15. locpat: column number of
16. ncovariates: number of covariates
17. covariates: vector of covariate names
18. format.date: format of date variables (chronological objects) in Biograph object
19. format.born: format of date of birth
The parameters and the format of the dates (format.date) are attached to the Biograph object (Bdata) as attributes.
StateSpace
# Example 1
data(GLHS)
z <- Parameters(GLHS)
# Example 2
data (NLOG98)
z <- Parameters(NLOG98,newnamstates=c("H","A","C","M","K"))
Run the code above in your browser using DataLab