Description Usage Arguments Value Note References See Also Examples
A function used to plot the area between the CIF curves.
1 2 |
time |
The followed up time for testing data. |
status |
The status indicator, should be coded as 0= censored, 1= event of interest, 2= all other competing events. |
group |
The group indicator for comparison, and the elements of this vector should take either 0 or 1. Normally, 0= control group, 1= treatment group. |
tau |
The truncation time point for shading lines, which needs to be smaller than or equal to the maximum of time. When tau=NULL, the default value is used. See details in reference. |
max.x |
The maximum of x-axis. When the default NULL is used, the max.x is set to the max velue of time. |
max.y |
The maximum of y-axis. When the default NULL is used, the max.y is set to 1. |
col |
A vector of integers specifying colors for control group, treatment group, and shading lines, respectively. The default value is c("black","black","gray90"). |
lwd |
A vector of numeric values of line widths for control group, treatment group, and shading lines, respectively.. The default value is c(3,3). |
lty |
A vector of integers specifying line types for control group, treatment group, and shading lines, respectively. The default value is c(1,2). |
lab.x |
Label given to the x-axis. |
lab.y |
Label given to the y-axis. |
cex.axis |
The magnification to be used for axis annotation relative to the current setting of cex. |
cex.lab |
The magnification to be used for x and y labels relative to the current setting of cex. |
cex.main |
The magnification to be used for main titles relative to the current setting of cex. |
None
ABC.plot is based on plot function and polygon function.
Lyu J, Chen J, Hou Y, Chen Z. Comparison of two treatments in the presence of competing risks. Pharmaceutical Statistics, 2020. DOI: 10.1002/pst.2028.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.