View source: R/bargraph_onefactor.R
bargraph_onefactor | R Documentation |
Groups two or more column charts exported from DIC, DBC or DQL function
bargraph_onefactor(
analysis,
labels = NULL,
ocult.facet = FALSE,
ocult.box = FALSE,
facet.size = 14,
ylab = NULL,
width.bar = 0.3,
width.col = 0.9,
sup = NULL
)
analysis |
List with DIC, DBC or DQL object |
labels |
Vector with the name of the facets |
ocult.facet |
Hide facets |
ocult.box |
Hide box |
facet.size |
Font size facets |
ylab |
Y-axis name |
width.bar |
Width error bar |
width.col |
Width Column |
sup |
Number of units above the standard deviation or average bar on the graph |
Returns a column chart grouped by facets
library(AgroR)
data("laranja")
a=with(laranja, DBC(trat, bloco, resp, ylab = "Number of fruits/plants"))
b=with(laranja, DBC(trat, bloco, resp, ylab = "Number of fruits/plants"))
c=with(laranja, DBC(trat, bloco, resp, ylab = "Number of fruits/plants"))
bargraph_onefactor(analysis = list(a,b,c), labels = c("One","Two","Three"),ocult.box = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.