R/print.p.R

Defines functions print.p

Documented in print.p

print.p <- function(p){
  if (p<0.01) return("< 0.01")
  if (p<0.05) return("< 0.05")
  if (p<0.10) return("< 0.10")
  else return(paste("= ", round(p, 2)))
}

Try the nem package in your browser

Any scripts or data that you put into this service are public.

nem documentation built on April 23, 2021, 3 p.m.