plot.fdenvelope: Plot an envelope object

Description Usage Arguments Details Examples

View source: R/envelope.fdsample.R

Description

Plots an object of class fdenvelope.

Usage

1
2
## S3 method for class 'fdenvelope'
plot(x, ..., includy = NULL)

Arguments

x

the envelop to be plotted

...

further arguments

includy

optional numeric vector containing values that are to be included in the ylim extent of the y-axis. Can be used to always start at 0, for example.

Details

Plotting parameters can be given as simplist or separately. If not given explicitely, default values contained in the list x$options are used. The following elements in the list of options in the envelope-object are used:

col color,
lightup numeric between 0 and 1. Regulates how much the color of is lightened up,
0 means no extra light.
xlab, ylab character, axes labels, default to "x" and "y".

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# load example data and calculate 90 % envelope
data(ExampleData)
envy <- pwEnvelope(fuda, prob = .9, lightup = .5)
# using a predefined list of options, from plutils package
require(plutils)
blau <- simplist(col = "blue", alpha = .6)
plot(envy, blau, main="mein blau", includy = -2)
# add lines and mean
plot(fuda, blau, add = TRUE)
plot(mean(fuda), blau, alpha = 1, lwd = 2, add = TRUE)

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