Learn R Programming

PMCMRplus (version 1.9.12)

plot.PMCMR: Plotting PMCMR Objects

Description

Plotting method for objects inheriting from class "PMCMR".

Usage

# S3 method for PMCMR
plot(x, alpha = 0.05, ...)

Value

A box-whisker plot for each factor level. The range of the whiskers indicate the extremes (boxplot = x, ..., range=0). Letter symbols are depicted on top of each box. Different letters indicate significant differences between groups on the selected level of alpha.

Arguments

x

an object of class "PMCMR".

alpha

the selected alpha-level. Defaults to 0.05.

...

further arguments for method boxplot.

See Also

Examples

Run this code
## data set InsectSprays
ans <- kwAllPairsNemenyiTest(count ~ spray, data = InsectSprays)
plot(ans)
plot(ans, col="red",main="My title", xlab="Spray", "Count")

Run the code above in your browser using DataLab