Learn R Programming

pander (version 0.6.5)

add.significance.stars: Add significance stars

Description

This function adds significance stars to passed p value(s) as: one star for value below 0.05, two for 0.01 and three for 0.001.

Usage

add.significance.stars(p, cutoffs = c(0.05, 0.01, 0.001))

Arguments

p

numeric vector or tabular data

cutoffs

the cutoffs for the 1/2/3 significance stars

Value

character vector