Learn R Programming

bootRes (version 1.2.4)

dcplot: Plotting Function for Response and Correlation Functions

Description

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

Usage

dcplot(x, ci = TRUE, sig = TRUE, labels = NULL, vertical = FALSE)

Arguments

x

data.frame with coefficients derived from dcc.

ci

logical: should confidence intervals be plotted?

sig

logical: should significant coefficients be indicated by bars in darker grey?

labels

character vector with labels to use for coefficients. Defaults to rownames(x).

vertical

logical: should plots be laid out vertically (defaults to FALSE).

Value

None. Invoked for side effect (plot).

Details

An arbitrary number of parameters can be displayed either horizontally or vertically in subplots.

See Also

dcc

Examples

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

# calculate and plot bootstrapped correlation function
dc <- dcc(muc.spruce, muc.clim, method = "corr")
dcplot(dc)
# }

Run the code above in your browser using DataLab