barplot_positive: Graph: Positive barplot

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/barplot_positive_function.R

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

1
2
3
4
5
6
7
8
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

1
2
3
4
5
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)")

AgroR documentation built on July 16, 2021, 9:06 a.m.