Description Usage Arguments Author(s) See Also Examples
View source: R/plot_cuminc_w_risktab.R
Pastes together a modified version of ggcompetingrisks with a custom ggrisktable
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
title |
character title |
note |
if you want to annotate |
variable |
group variable |
survtime |
survival time variable |
survstatus_gray |
survival status variable for competing risks (0, 1, 2) |
survstatus_reg |
survival status variable for standard kaplan meier (0,1): required for risk table |
dat |
dataframe |
legend_labs |
Vector of group factors. Default is levels(as.factor(dat[[variable]])) |
xlim |
vector of x limits |
ylim |
vector of y limits |
break.time.by |
numeric |
breaks |
numeric vector |
Margaret L. Hannum
ggcompetingrisks
, ggrisktable
, cuminc
1 | ADD EXAMPLE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.