Description Usage Arguments Value
An internal function for generating colors associated with significance values in hypothesis testing.
1 2 3 4 5 6 | sign_format(
x,
breaks = c(1, 0.1, 0.05, 0.01, 0.001, 0),
values = c("#808080", "#ffa500", "#9acd32", "#008000", "#006400"),
na_value = "#808080"
)
|
x |
A numeric vector with significance values |
breaks |
A numeric vector with values at which each color break occurs |
values |
A character vector of colors to use for each interval |
na_value |
A character vector of the color to use for NA values |
A vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.