plot.htest: Plot

plot.ppwR Documentation

Plot

Description

Create diagnostic plots for selected hypothesis tests.

Usage

## S3 method for class 'ppw'
plot(x, which = "All", set.up = TRUE, labels, ...)

## S3 method for class 'genWilcox'
plot(x, which = "All", set.up = TRUE,
  xaxis.log = TRUE, ...)

Arguments

x

an object having classes "htest" and some other class for which a plot method exists.

which

either "All" or an number indicating which plot, see Details.

set.up

set up the graphics page?

labels

use supplied values for y-axis labels instead of sequence number.

...

not used, arguments passed to or from other methods.

xaxis.log

draw the x-axis on a logarithimic scale?

Details

The ppw method for plot creates 2 graphs on a single page. The first graph is the scaled differences from the PPW test with the mean difference shown by a blue line. The second graph is the actual differences in the paired values, assuming that the true minimum for left-censored data is 0. The median difference is shown by a blue line.

The genWilcox method creates a single graph that shows the emprical cumulative distributions for each group.

Value

The object x is returned invisibly.


USGS-R/smwrQW documentation built on Oct. 11, 2022, 6:13 a.m.