Ranking Plots

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.