pvalue_stars: P-Value Stars

Description Usage Arguments Value Examples

Description

Calculate the significance stars for p-values.

Usage

1
pvalue_stars(p_values, alignment = "R")

Arguments

p_values

A numeric vector of p-values.

alignment

Which side to align the significance stars to (padding spaces will be added to the other side).

Value

A character vector of the p-value significance stars.

Examples

1
2
pvalue_stars(c(-Inf, 0, 0.0005, 0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.15, 1, Inf, NA))
pvalue_stars(c(-Inf, 0, 0.001, 0.01, 0.025, 0.05, 0.1, 0.15, 1, Inf, NA), alignment = "L")

KO112/KO documentation built on Oct. 2, 2020, 9:21 a.m.