pvalue_stars: Turns pvalue into stars

View source: R/general_utilities.R

pvalue_starsR Documentation

Turns pvalue into stars

Description

Modified from gtools::stars.pval.

Usage

pvalue_stars(
  p.value,
  barely_sig = 0.05,
  decent_sig = 0.01,
  whoa_nelly = 0.001,
  bluh = ""
)

Arguments

p.value

decimal pvalue

barely_sig

decimal pvalues under this return *

decent_sig

decimal; pValues under this return **

whoa_nelly

decimal; pValues below this return ***

meh

decimal; pValues below this return ***

Value

pvalue stars

  • *** for 0-000 to 0.001

  • ** for 0.001 to 0.01

  • * for 0.01 to 0.05

  • "" for over 0.05


Benjamin-Vincent-Lab/binfotron documentation built on Oct. 1, 2024, 8:33 p.m.