bar_graph: Graph: Bar graph for one factor

View source: R/bargraph_function.R

bar_graphR Documentation

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
)

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.

Value

Returns a bar chart for one factor

Author(s)

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

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

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