sk_graph: Graph: Scott-Knott graphics

View source: R/sk_graph_function.R

sk_graphR Documentation

Graph: Scott-Knott graphics

Description

This is a function of the bar graph for the Scott-Knott test

Usage

sk_graph(model, horiz = TRUE)

Arguments

model

DIC, DBC or DQL object

horiz

Horizontal Column (default is TRUE)

Value

Returns a bar chart with columns separated by color according to the Scott-Knott test

Author(s)

Gabriel Danilo Shimizu, shimizu@uel.br

Leandro Simoes Azeredo Goncalves

Rodrigo Yudi Palhaci Marubayashi

See Also

radargraph, barplot_positive, plot_TH, corgraph, spider_graph, line_plot

Examples

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)

AgroR documentation built on Sept. 14, 2023, 1:09 a.m.