Description Usage Arguments Value
View source: R/add_target_point.R
Add target point and estimated survival of the models for the givem target.
1 2 3 4 | add_target_point(ggaux, models_list, time_target = 0, surv_target = 1,
legend_text = paste0("Target: ", surv_target * 100, "@", time_target),
p_size = 5, p_shape = 18, t_size = 3, adj_axis = TRUE,
failure_rate_plot = FALSE)
|
time_target, |
surv_target: The target 'time' and 'survival' |
p_size, |
p_shape, t_size: point size, point shape and text size. |
adj_axis: |
if |
failure_rate_plot: |
if |
ggaux: |
a |
legend_text: |
If not specified, the legend will be in the format "surv_target@time_target" |
models_list: |
An object or a |
A ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.