traceplot: Trace the temporal development of response or correlation...

View source: R/traceplot.R

traceplotR Documentation

Trace the temporal development of response or correlation coefficients

Description

This is a plotting function that takes the output from a dynamic ("moving" or "evolving") dcc run to trace the temporal development of all or selected variables. The variables can be selected using their name, partial matching is allowed.

Usage

traceplot(x, variables = NULL, facet = FALSE)

Arguments

x

an object returned from a call to dcc with parameter dynamic set to either "moving" or "evolving".

variables

a character vector of variable names to be plotted; if NULL (default), all variables will be traced

facet

logical: shall the plot be splitted into facets for different variables?

Value

an object of class "gg".

Examples

## Not run: 
dc_resp <- dcc(muc_spruce, muc_clim, 4:9, dynamic = "evolving")
traceplot(dc_resp, c("prec.curr.may", "prec.curr.jun"))

## End(Not run)

treeclim documentation built on March 18, 2022, 7:22 p.m.