pwEnvelope: Calculate pointwise envelope of a functional data sample

Description Usage Arguments Details Value Examples

Description

Calculates symmetric or non symmetric pointwise envelopes of the function values in an fdsample object.

Usage

1
pwEnvelope(x, prob = 1, ..., lightup = 0.5)

Arguments

x

object of class fdsample

prob

numeric, covering probability for the envelope, see Details.

...

arguments for updating the options list in the result.

lightup

a number between 0 and 1, regulates brightness of color in plot.

Details

The envelope is specified as follows: If prob is a single number between 0 and 1, a central pointwise envelope covering prob*100 percent of the function values is calculated. If two numbers are given, they are used to specify the lower and upper quantile used for the envelope.

A default value for the brightness of the color is calculated from any alpha argument in the plot method and the argument lightup, namely the α-value is corrected to (1-lightup) * alpha. If not given, α is set to one. Thus lightup = 0 results in retaining original brightness, and lightup = 1 in white color.

Value

An object of class envelope, which is essentially an fdsample object with own plot method.

Examples

1
2

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