View source: R/sk_graph_function.R
sk_graph | R Documentation |
This is a function of the bar graph for the Scott-Knott test
sk_graph(model, horiz = TRUE, fill.label = "lightyellow")
model |
DIC, DBC or DQL object |
horiz |
Horizontal Column (default is TRUE) |
fill.label |
fill Label box fill color |
Returns a bar chart with columns separated by color according to the Scott-Knott test
Gabriel Danilo Shimizu, shimizu@uel.br
Leandro Simoes Azeredo Goncalves
Rodrigo Yudi Palhaci Marubayashi
radargraph, barplot_positive, plot_TH, corgraph, spider_graph, line_plot
data("laranja")
a=with(laranja, DBC(trat, bloco, resp,
mcomp = "sk",angle=45,
ylab = "Number of fruits/plants"))
sk_graph(a,horiz = FALSE)
library(ggplot2)
sk_graph(a,horiz = TRUE)+scale_fill_grey(start=1,end=0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.