View source: R/barplot_positive_function.R
barplot_positive | R Documentation |
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
barplot_positive(
a,
b,
ylab = "Response",
var_name = c("Var1", "Var2"),
legend.title = "Variable",
fill_color = c("darkgreen", "brown"),
width.col = 0.9,
width.bar = 0.2
)
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 |
width.col |
Width Column |
width.bar |
Width error bar |
The function returns a column chart with two positive sides
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.
Gabriel Danilo Shimizu, shimizu@uel.br
radargraph, sk_graph, plot_TH, corgraph, spider_graph, line_plot
data("passiflora")
attach(passiflora)
a=with(passiflora, DBC(trat, bloco, MSPA))
b=with(passiflora, DBC(trat, bloco, MSR))
barplot_positive(a, b, var_name = c("DMAP","DRM"), ylab = "Dry root (g)")
a=with(passiflora, DIC(trat, MSPA,test = "noparametric"))
b=with(passiflora, DIC(trat, MSR))
barplot_positive(a, b, var_name = c("DMAP","DRM"), ylab = "Dry root (g)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.