plotRanking: Ranking Plots

Description Usage Arguments See Also Examples

View source: R/plotting.R

Description

This function creates a plot similar to the critical difference plot, but applicable to any corrected pvalue.

Usage

1
2
plotRanking(pvalues, summary, alpha = 0.05, cex = 0.75,
  decreasing = FALSE)

Arguments

pvalues

Matrix or data frame with the p-values used to determine the differences

summary

Summary values used to place the algorithms. Typically it will be the average ranking, but it can be any other value

alpha

Significance level to determine the significativity of the differences. By default this value is 0.05

cex

Numeric value to control the size of the font. By default it is set at 0.75.

decreasing

A logical value to determine whether the values have to be plotter from smaller to larger or the other way round.

See Also

drawAlgorithmGraph, plotCD, plotPvalues

Examples

1
2
3
data(data_gh_2008)
test <- postHocTest(data.gh.2008, test="friedman", correct="bergmann", use.rank=TRUE)
plotRanking(pvalues=test$corrected.pval, summary=test$summary, alpha=0.05)

scmamp documentation built on May 19, 2017, 10:42 a.m.

Search within the scmamp package
Search all R packages, documentation and source code