Description Usage Arguments Value Examples
A function to estimate a nonparametric cumulative incidence function accounting for misclassification between competing events and censoring events #'
1 2 3 4 5 6 7 8 | comp.cens.cor(
data = data,
tau,
t = "t",
delta = "delta",
weights = "NULL",
p = "p"
)
|
data |
input data source containing main study data, specifically time variable and outcome type |
tau |
final follow-up time |
t |
character string denoting name of time variable |
delta |
character string denoting name of event type variable |
weights |
character string denoting name of variable containing weights (e.g., survey sampling weights, inverse probability weights, etc) |
p |
a character string denoting name of the variable containing the probability that person i is in care elsewhere |
data frame with event times and cumulative incidence function for outcome of interest
1 | prop<-comp.cens.cor(data=art, tau=2*365.25, t="t", delta="j", p=0.24, N=1000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.