Description Usage Arguments Value Author(s)
Gives a stratified risk set data. See SiteRisksetsHelper
for details
about the risk set data within each stratum. If not strata
vector is supplied,
one stratum with value NA is assumed.
1 | SiteRisksetsByStrata(time = NULL, event, A, W = NULL, strata = NULL)
|
time |
vector of the observed time variable. If omitted, taken to be all 0. Omit when |
event |
vector of the event status binary variable (must be 0, 1). A binary outcome variable can also be used if the outcome of interest is such a variable. |
A |
vector of the exposure status variable (must be 0, 1). |
W |
vector of the weights. Omit if not weighting. |
strata |
vector of stratifying variable |
reduced stratified risk set data frame having one row for each unique evaluation time for each strata.
Kazuki Yoshida
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.