R/stars_pval.R

stars.pval <- function (x) {
  y <- cut(x, include.lowest=TRUE, right=FALSE,
      breaks=c(-1e-12, .001, .01, .05, .1, Inf),
      labels=c("***", "**", "*", ".", ""))
  as.character(y)
}

Try the corpora package in your browser

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

corpora documentation built on Aug. 21, 2023, 1:07 a.m.