barplot_errs: Setting for computing scales of a few tests

View source: R/barplot.errs.R

barplot_errsR Documentation

Setting for computing scales of a few tests

Description

barre d'errore

Usage

barplot_errs(
  X = NULL,
  grps = NULL,
  title = "Means",
  col.palette = NULL,
  na.rm = TRUE,
  filename = NULL,
  sort.by = "order.vars=order(colMeans(X))",
  means.cis = NULL,
  ylab = "means",
  xlab = "",
  grp.names = "grps"
)

Arguments

X

NULL

grps

NULL

title

"Means"

col.palette

NULL

na.rm

TRUE

filename

NULL

sort.by

"order.vars=order(colMeans(X))"

means.cis

NULL

Examples

## Not run: 
plt=barplot_errs(dat,col.palette=wes.palette(2, "Darjeeling"),grps=dati$pz.,title=title,sort.by=sort.by)     
ps.cor=apply(dat,2,function(x)cor.test(dati$pz,x)$p.value)
signif =names(which(p.adjust(ps.cor,"holm")<=.05))
plt=plt+ annotate("text", x = signif, y = -.12, label = "*",color="darkred",size=15)
plt

## End(Not run)

livioivil/r41sqrt10 documentation built on July 29, 2023, 5:40 p.m.