Description Usage Arguments Value Examples
A helper function to bootstrap risk function correcting for misclassification between censoring and competing events
1 2 3 4 5 6 7 8 9 10 | bootstrap.cc(
B,
bdat1,
t = "t",
delta = "delta",
tau,
p = "p",
sep = "sep",
seed = 456
)
|
B |
number of bootstrap samples to draw |
bdat1 |
input data source containing main study data |
t |
character string denoting name of time variable |
delta |
character string denoting name of event type variable |
tau |
final follow-up time for which risks and standard errors will be reported |
p |
a character string denoting name of the variable containing the probability that person i is in care elsewhere |
sep |
a character string denoting the name of the variable containing the standard error of the estimated probability that person i is in care elsewhere |
seed |
seed |
weights |
character string denoting name of variable containing weights (e.g., survey sampling weights, inverse probability weights, etc) |
standard error of the cumulative incidence (i.e., risk) function at time tau
1 2 | se <- bootstrap.cc(B, data, t = "t", delta = "j", tau, p = "p", sep = "selogitp", seed=123)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.