sigstars {CMO} | R Documentation |
Transforms a vector of p-values into a symbol-vector with symbol number correlating to the levels of significance.
sigstars(x, stufen = c(0.001, 0.01, 0.05, 0.1), symbol = "*")
x |
Numerical vector of p-values |
stufen |
Levels of significance |
symbol |
Symbol to signify significance |
A character vector of symbols(*). Number of symbols corresponds to the level of significance of the p-values of the input vector.
Christian Montel
#create some p-value vector pvalues <- c(0.08,0.01,0.04,0.09,0.1) sigstars(pvalues)