sstars: Print 'significance' stars for given P-value statistics

View source: R/p-values.R

sstarsR Documentation

Print 'significance' stars for given P-value statistics

Description

Print significance stars representing p < 0.01, p < 0.05, p < 0.1 or custom significance levels. The usual caveats about the misuse of p-values apply - these should not be taken to represent the correctness or otherwise of a given alternative hypothesis.

Usage

sstars(p, levels = c(`*` = 0.1, `**` = 0.05, `***` = 0.01))

Arguments

p

Vector of p-values.

levels

Named vector of significance levels. The values should be the upper threshold of each level, and the names the associated labels to be printed.


uo-cmor/formattr documentation built on Sept. 13, 2023, 10:46 p.m.