Learn R Programming

treeclim (version 2.0.7.1)

traceplot: 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)

Value

an object of class "gg".

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?

Examples

Run this code
# \donttest{
dc_resp <- dcc(muc_spruce, muc_clim, 4:9, dynamic = "evolving")
traceplot(dc_resp, c("prec.curr.may", "prec.curr.jun"))
# }

Run the code above in your browser using DataLab