Last chance! 50% off unlimited learning
Sale ends in
This is a function of the bar graph for one factor with facets
barfacet(
model,
facet = NULL,
theme = theme_bw(),
horiz = FALSE,
geom = "bar",
fill = "lightblue",
pointsize = 4.5,
width.bar = 0.15,
facet.background = "gray80"
)
Returns a bar chart for one factor
DIC, DBC or DQL object
vector with facets
ggplot2 theme
horizontal bar or point (default is FALSE)
graph type (columns or segments)
fill bars
Point size
width of the error bars of a regression graph.
Color background in facet
Gabriel Danilo Shimizu, shimizu@uel.br
Leandro Simoes Azeredo Goncalves
Rodrigo Yudi Palhaci Marubayashi
library(AgroR)
data("laranja")
a=with(laranja, DBC(trat, bloco, resp,
mcomp = "sk",angle=45,sup = 10,family = "serif",
ylab = "Number of fruits/plants"))
barfacet(a,c("S1","S1","S1","S1","S1",
"S2","S2","S3","S3"))
Run the code above in your browser using DataLab