plot.envtest: Plot the result of an envelope test

Description Usage Arguments Details

View source: R/envelopetest.R

Description

Plots simultaneous envelopes of a rank envelope test and prints the exact inclusion probabilities.

Usage

1
2
## S3 method for class 'envtest'
plot(x, ..., col.obs = "red")

Arguments

x

test result to be plotted, an object of type envtest

...

arguments passed to plot methods

col.obs

color for plotting the observations

Details

Objects of type envtest are generated by rankEnv.test which calculates the result of a test comparing an observed curve to a family of other curves (most often simulated ones).

Method plot.envtest plots envelopes according to the inclusion probabilities given while calculating the test, and adds the observed curve. The most extreme points of the observed curve, i.e. the points that are reponsible for the curve's p-value, are marked by points.

For an example, see rankEnv.test


fdnonpar documentation built on May 2, 2019, 5:54 p.m.