Learn R Programming

AgroR (version 1.3.6)

bar_graph2: Graph: Bar graph for one factor model 2

Description

This is a function of the bar graph for one factor

Usage

bar_graph2(
  model,
  point.color = "black",
  point.size = 2,
  point.shape = 16,
  text.color = "black",
  label.color = "black",
  bar.color = "black",
  title.size = 14,
  y.text = 0,
  add.info = NA,
  y.info = 0,
  width.col = 0.9,
  width.bar = 0,
  color.info = "black",
  fill = "lightblue"
)

Value

Returns a bar chart for one factor

Arguments

model

DIC, DBC or DQL object

point.color

Point color

point.size

Point size

point.shape

Format point

text.color

Text color

label.color

Label color

bar.color

Errorbar color

title.size

Title size

y.text

Y-axis height for x-axis legend

add.info

Add other information

y.info

Y-axis height for other information

width.col

Width Column

width.bar

Width error bar

color.info

Color text information

fill

Fill bars

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,sup = 10,
     family = "serif",
     ylab = "Number of fruits/plants"))
bar_graph2(a)
bar_graph2(a,fill="darkblue",point.color="orange",text.color='white')

Run the code above in your browser using DataLab