Description Usage Arguments Value Examples
View source: R/cif_adj_nondiff.R
A function to account for nondifferential misclassification in cumulative incidence functions
1 2 | cif_adj_nondiff(data = data, data_evd = data_evd, t = "x",
obs = "c_obs", true = "c", level = 1, tau = 1)
|
data |
input data source containing main study data |
data_evd |
intput data source containing validation data with variables true outcome and misclassified outcome |
t |
name of the time variable |
obs |
name of variable denoting possibly misclassified outcome type in both main and validation datasets |
true |
name of variable denoting true outcome type (in validation data only) |
level |
level of outcome for which to estimate cumulative incidence |
tau |
maximum follow-up time |
data frame with event times and corrected cumulative incidence function for outcome of interest
1 | cif_adj_nondiff(data = mydata, data_evd = valdata, t = "x", obs = "c_obs", true = "c", level = 1, tau = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.