| add_censor_marks | R Documentation |
Add censor marks to KM plot
add_censor_marks(p, df, censor.size = 0.5, censor.stroke = 1.5, shape = "|")
p |
ggplot object |
df |
Plotting dataframe |
censor.size |
Size of censor marks |
censor.stroke |
Stroke of censor marks |
shape |
Shape for censor marks, defaults to "|", but can use an character or standard geom_point shapes (0-24) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.