barplot_errs | R Documentation |
barre d'errore
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"
)
X |
NULL |
grps |
NULL |
title |
"Means" |
col.palette |
NULL |
na.rm |
TRUE |
filename |
NULL |
sort.by |
"order.vars=order(colMeans(X))" |
means.cis |
NULL |
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.