barplot_positive {AgroR}R Documentation

Graph: Positive barplot

Description

Column chart with two variables that assume a positive response and represented by opposite sides, such as dry mass of the area and dry mass of the root

Usage

barplot_positive(
  a,
  b,
  ylab = "Response",
  var_name = c("Var1", "Var2"),
  legend.title = "Variable",
  fill_color = c("darkgreen", "brown")
)

Arguments

a

Object of DIC, DBC or DQL functions

b

Object of DIC, DBC or DQL functions

ylab

Y axis names

var_name

Name of the variable

legend.title

Legend title

fill_color

Bar fill color

Value

The function returns a column chart with two positive sides

Note

When there is only an effect of the isolated factor in the case of factorial or subdivided plots, it is possible to use the barplot_positive function.

Author(s)

Gabriel Danilo Shimizu, shimizu@uel.br

See Also

radargraph, sk_graph, plot_TH, corgraph, spider_graph, line_plot

Examples

data("passiflora")
attach(passiflora)
a=DBC(trat,bloco,MSPA)
b=DBC(trat,bloco,MSR)
barplot_positive(a, b, var_name = c("DMAP","DRM"), ylab = "Dry root (g)")

[Package AgroR version 1.2.2 Index]