Learn R Programming

bootRes (version 1.2.4)

mdcplot: Plotting Function for Moving Response and Correlation Functions

Description

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

Usage

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(...)

Value

None. Invoked for side effect (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.

See Also

mdcc

Examples

Run this code
# NOT RUN {
data(muc.clim)
data(muc.spruce)

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

Run the code above in your browser using DataLab