add_significance | R Documentation |
add_significance() is an Add function that updates an object by adding new values to new or empty fields. Specifically, this function implements an algorithm to add significance. The function returns Plot (a plot).
add_significance(
plot_plt,
by_1L_chr,
data_tb,
var_1L_chr,
add_1L_dbl = numeric(0),
adjust_1L_dbl = 0.4,
as_percent_1L_lgl = F,
digits_1L_int = 4,
flip_1L_lgl = F,
scientific_1L_lgl = F,
show_p_1L_lgl = T,
show_test_1L_lgl = F,
tip_1L_dbl = 0,
...
)
plot_plt |
Plot (a plot) |
by_1L_chr |
By (a character vector of length one) |
data_tb |
Data (a tibble) |
var_1L_chr |
Variable (a character vector of length one) |
add_1L_dbl |
Add (a double vector of length one), Default: numeric(0) |
adjust_1L_dbl |
Adjust (a double vector of length one), Default: 0.4 |
as_percent_1L_lgl |
As percent (a logical vector of length one), Default: F |
digits_1L_int |
Digits (an integer vector of length one), Default: 4 |
flip_1L_lgl |
Flip (a logical vector of length one), Default: F |
scientific_1L_lgl |
Scientific (a logical vector of length one), Default: F |
show_p_1L_lgl |
Show p (a logical vector of length one), Default: T |
show_test_1L_lgl |
Show test (a logical vector of length one), Default: F |
tip_1L_dbl |
Tip (a double vector of length one), Default: 0 |
... |
Additional arguments |
Plot (a plot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.