Learn R Programming

scmamp (version 0.2.55)

plotRanking: Ranking Plots

Description

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

Usage

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

Run this code
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)

Run the code above in your browser using DataLab