Learn R Programming

descutils (version 1.0)

prettyPvalues: prettyPvalues

Description

Pretty print p-values

Usage

prettyPvalues(
  p_vals,
  digits = 5,
  signiflev = 0.05,
  lhs = NULL,
  lhs_sep = "=",
  orgbold = TRUE,
  roundonly = FALSE
)

Value

character vector of pretty printed p-values

Arguments

p_vals

numeric

digits

how many digits to print

signiflev

print in bold face if smaller than this

lhs

character. left hand side of the printed 'formula'. Defaults to NULL, in which case neither lhs nor lhs_sep will be printed.

lhs_sep

character. Separator between lhs and pretty pvalue. Defaults to "<".

orgbold

boolean. Surround significant p values by '*'?. Defaults to TRUE.

roundonly

boolean. if TRUE, do neiter prepend any number with '<' nor do enclose any number with '*'. Defaults to FALSE

Author

Andreas Leha

Details

Pretty print p-values with org-mode syntax for bold face