p_val_to_stars: Format p-values in "stars" notation

Description Usage Arguments

View source: R/utils.R

Description

Format p-values in "stars" notation

Usage

1
2
p_val_to_stars(p, cutoffs = c(1, 0.05, 0.01, 0.001), stars = c("", "*",
  "**", "***"))

Arguments

p

p-value (vectorized)

cutoffs

numeric vector of p value cutoffs (default: c(1, 0.05, 0.01, 0.001)).

stars

characters to use for values less than each cutoff (default: c("", "*", "**", "***").


kleinschmidt/daver documentation built on April 3, 2018, 11:05 a.m.