Function to plot the survival curves
1 |
beta |
the estimated coefficients, in class "param" |
G |
a vector of group labels |
T, N |
cancer characteristic in vectors or factors |
y |
time to events, in vector |
cen |
censor indicator, in vector |
ncol |
number of columns when plotting curves for each trial |
legend.pos |
position of the legend, "bottomleft" or "topright" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.