add_statistical_tests.RdAdd statistical test results to plot
add_statistical_tests(
p,
type,
multiple_lines,
pval_result,
pval.pos = NULL,
times,
xlim,
ylim,
psize = 3.5,
pval.digits = 3,
plot.event = 1,
eventlabs = NULL
)ggplot object
Plot type
Whether multiple strata
P-value
Position for p-value text
Time breaks
X-axis limits
Y-axis limits
Text size for p-value
Number of digits for p-value
Events being plotted
Event labels