Add censor marks to KM plot
add_censor_marks(p, df, censor.size = 0.5, censor.stroke = 1.5, shape = "|")
Arguments
- 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)