sigstars {CMO}R Documentation

Stars of Significance

Description

Transforms a vector of p-values into a symbol-vector with symbol number correlating to the levels of significance.

Usage

sigstars(x, stufen = c(0.001, 0.01, 0.05, 0.1), symbol = "*")

Arguments

x Numerical vector of p-values
stufen Levels of significance
symbol Symbol to signify significance

Value

A character vector of symbols(*). Number of symbols corresponds to the level of significance of the p-values of the input vector.

Author(s)

Christian Montel

Examples

#create some p-value vector
pvalues <- c(0.08,0.01,0.04,0.09,0.1)
sigstars(pvalues)

[Package CMO version 1.02 Index]