bargraph_onefactor {AgroR}R Documentation

Graph: Group DIC, DBC and DQL functions column charts

Description

Groups two or more column charts exported from DIC, DBC or DQL function

Usage

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
)

Arguments

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

Value

Returns a column chart grouped by facets

Examples

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)

[Package AgroR version 1.3.6 Index]