View source: R/signifSymbols.R
signifSymbols | R Documentation |
The signifSymbols
function takes one vector of p-values and returns
a vector of symbols that correspond to thresholds that can be set. Default
thresholds values and symbols are the most common ones.
signifSymbols( pvalue, thresholds = c(0.1, 0.05, 0.01, 0.001), symbols = c(".", "*", "**", "***"), notsignif = "n.s." )
pvalue |
a p-value for which a symbol is requested. |
thresholds |
the threshold values that define category to which symbols are assigned. |
symbols |
list of symbols. |
notsignif |
symbols for non significant p-value. |
signifSymbols(.012) signifSymbols(.008) lapply(c(.2, .08, .04, .008, 0.0001), signifSymbols)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.