This function will add a Cox regression statistical significance line to the input ggplot2.
1 | add_sig_line_to_plot(cur_plot, coord_flip, add_sig_line)
|
cur_plot |
ggplot2 object to add on to. |
coord_flip |
Boolean to indicate if the ggplot2 has been flipped or not. |
add_sig_line |
Boolean to indicate whether the significance line should be added or not. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.