pvalStars: p-value text summary.

pvalStarsR Documentation

p-value text summary.

Description

'pvalStars' creates a graphical representation of p-value(s) (AKA "significance stars").

Usage

pvalStars(p, width = NULL, 
    right = TRUE)

Arguments

p

p-value(s)

width

width of text summary (number of characters), if not NULL, the summary gets padded with spaces to consist of at least width characters

right

the type of padding

Value

a vector of character strings representing the significance of 'p'

Author(s)

Tomas Sieger

Examples

p<-c(1,.1,.05,.01,.001,.000001,NA)
cbind(p,pvalStars(p))

tsieger/tsiMisc documentation built on Oct. 10, 2023, 10:24 p.m.