mdcplot: Plotting Function for Moving Response and Correlation...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/mdcplot.R

Description

A simple plotting function for response and correlation functions derived from mdcc.

Usage

1
mdcplot(x, rescale = TRUE, ...)

Arguments

x

data.frame with coefficients derived from mdcc.

rescale

logical: should coefficients be rescaled to use full color gradient?

...

additional arguments passed to plot(...)

Details

Rescaling of coefficients results in more contrast for color palette. For comparison of absolute values (between different plots), this should be set to FALSE. Rescaling is done seperately for positive and negative values.

Previous to bootRes version 1.2.2, mdcc would return a single data.frame of coefficients, regardless if bootstrapping was enabled or not. In more recent versions, a list of data.frames is returned, containing members for coefficients and confidence intervals. The type of x is checked internally, so there is no change in the interface of mdcplot.

Value

None. Invoked for side effect (plot).

Author(s)

Christian Zang

See Also

mdcc

Examples

1
2
3
4
5
6
data(muc.clim)
data(muc.spruce)

# calculate and plot bootstrapped correlation function
mdc <- mdcc(muc.spruce, muc.clim, method = "corr")
mdcplot(mdc)

cszang/bootRes documentation built on June 5, 2018, 9:03 p.m.