Description Usage Arguments Value Author(s) See Also Examples
bp
creates a vector of length sum(y)
of cumulative
numbers of previous events for each individual for use in fitting
birth processes with ehr
. Add one if the process starts
at an event.
1 | bp(y, id, censor=1)
|
y |
Vector of times. |
id |
Vector of corresponding individual identifiers for who had which sequence of times. |
censor |
Vector of censoring indicators. |
bp
creates a vector of length sum(y)
of cumulative
numbers of previous events for each individual for use in fitting
birth processes with ehr
. Add one if the process starts
at an event.
J.K. Lindsey
ehr
, ident
, pp
, tccov
,
tpast
, ttime
, tvcov
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.