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

Description Usage Arguments Value Examples

View source: R/traceplot.R

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

1
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

1
2
3
4
5
## 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)

cszang/treeclim documentation built on Feb. 18, 2022, 4:54 a.m.