plot.oneway: Plot nonparametric group comparisons

Description Usage Arguments Details Author(s) Examples

View source: R/plot.R

Description

plot.oneway plots nonparametric group comparisons.

Usage

1
2
## S3 method for class 'oneway'
plot(x, ...)

Arguments

x

an object of class oneway.

...

additional arguments passed to the boxplot function.

Details

This function plots nonparametric group comparisons created by the oneway function using annotated side by side boxplots. Medians and sample sizes are placed at the top of the chart. The overall median is represented by a horizontal dashed line.

Author(s)

Rob Kabacoff <rkabacoff@statmethods.net>

Examples

1
2
3
results <- oneway(hlef ~ region, life)
plot(results, col="lightblue", main="Multiple Comparisons",
     xlab="US Region", ylab="Healthy Life Expectancy at Age 65")

yunxileo/npar documentation built on May 4, 2019, 7:44 p.m.