bargraph_onefactor: Graph: Group DIC, DBC and DQL functions column charts

View source: R/bargraph_onefactor.R

bargraph_onefactorR 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)

AgroR documentation built on May 29, 2024, 4:18 a.m.