| add_statistical_tests | R Documentation |
Add 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
)
p |
ggplot object |
type |
Plot type |
multiple_lines |
Whether multiple strata |
pval_result |
P-value |
pval.pos |
Position for p-value text |
times |
Time breaks |
xlim |
X-axis limits |
ylim |
Y-axis limits |
psize |
Text size for p-value |
pval.digits |
Number of digits for p-value |
plot.event |
Events being plotted |
eventlabs |
Event labels |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.