sym.pval: Assign p-value symbols

Description Usage Arguments See Also Examples

View source: R/function.R

Description

Convert p-value to symbols

Usage

1
sym.pval(pval)

Arguments

pval

pvalue, between 0-1.

See Also

aid, grade.test, lesion.test and biomass.test.

Examples

1
2
3
4
5
6
pval <- c(0.15, 0.10, 0.05, 0.02, 0.01, 0.0001)
n <- length(pval)
sym  <- rep(" ", n)
for (i in 1:n)
  sym[i] <- sym.pval(pval[i])
cat(sym)

wangqinhu/aid documentation built on May 4, 2019, 12:58 a.m.