Learn R Programming

AgroR (version 1.3.6)

bar_graph: Graph: Bar graph for one factor

Description

This is a function of the bar graph for one factor

Usage

bar_graph(
  model,
  fill = "lightblue",
  horiz = TRUE,
  width.col = 0.9,
  axis.0 = FALSE
)

Value

Returns a bar chart for one factor

Arguments

model

DIC, DBC or DQL object

fill

fill bars

horiz

Horizontal Column (default is TRUE)

width.col

Width Column

axis.0

If TRUE causes the columns or bars to start just above the axis line.

Author

Gabriel Danilo Shimizu, shimizu@uel.br

Leandro Simoes Azeredo Goncalves

Rodrigo Yudi Palhaci Marubayashi

See Also

radargraph, barplot_positive, plot_TH, plot_TH1, corgraph, spider_graph, line_plot, plot_cor, plot_interaction, plot_jitter, seg_graph, TBARPLOT.reverse

Examples

Run this code
data("laranja")
a=with(laranja, DBC(trat, bloco, resp,
     mcomp = "sk",angle=45,
     ylab = "Number of fruits/plants"))
bar_graph(a,horiz = FALSE)

Run the code above in your browser using DataLab