trendmap.dsensemble: trendplot.dsensemble

View source: R/trend.dsensemble.R

trendmap.dsensembleR Documentation

trendplot.dsensemble

Description

The function trendplot.dsensemble is used to visualise the trends of downscaled ensembles, calculated with trend.dsensemble.

Usage

trendmap.dsensemble(
  trends,
  statistic = "mean",
  new = TRUE,
  robustness = "f",
  threshold = 0.9,
  threshold.lower = TRUE,
  pch = 19,
  cex = 0.9,
  lwd = 1,
  colbar = list(show = TRUE),
  pch.robustness = 1,
  cex.robustness = 0.9,
  lwd.robustness = 1.2,
  main = NULL,
  bg = "grey55",
  col.robustness = "black",
  projection = "lonlat",
  ...,
  verbose = FALSE
)

Arguments

statistic

Ensemble statistic to show on the map. By default, statistic="mean", the ensemble mean of the trends. Other alternatives: "median", "min" (minimum), "max" (maximum), "q5" (5th percentile), "q95" (95th percentile), "n.pos" and "n.neg" (number of ensemble members with positive or negative trends), and "f.pos" and "f.neg" (fraction of ensemble members with positive or negative trends).

robustness

Ensemble statistic to use as a measure of trend robustness. Default: "f", the fraction of ensemble members with the same sign of trends. Other options: "n", the number of ensemble members with the same sign of trends, and any ensemble statistic in the input x. If NULL, the robustness is not estimated and displayed.

threshold

Threshold for estimating trend robustness.

threshold.lower

if TRUE, threshold is used as a lower threshold for robustnes, otherwise it is used as an upper threshold.

pch

A vector of plotting characters or symbols: see points.

cex

A numerical vector giving the amount by which plotting characters and symbols should be scaled relative to the default. This works as a multiple of par("cex"). NULL and NA are equivalent to 1.0. Note that this does not affect annotation: see below.

lwd

a vector of line widths, see link{par}.

colbar

The colour scales defined through colscal. Users can specify the colour ‘pal’*ette (‘pal’), the number of breaks (‘n’), values of ‘breaks’, and the position of the color bar from the main plot (‘pos’). The ‘rev’ argument, will produce a reversed color bar if set to TRUE. The other arguments (‘type’,‘h’ and ‘v’) are more specific to col.bar and are used only if argument ‘fancy’ is set to TRUE (not yet finished). colbar=NULL is used if the colourbar is not to be shown. Also use colbar=NULL to present several maps in one figure (e.g. with par(mfcol=c(2,2))).

pch.robustness

Plotting character to show robustness

cex.robustness

Scaling of plotting characters to show robustness

lwd.robustness

Line widths for plotting characters to show robustness

col.robustness

Color of plotting characters to show robustness. If NULL, the same color is used as for the trend. col can be one color, e.g. "black", or a list of two colors, one for positive and one for negative trends, e.g., list("pos"="red", "neg"="blue")).

projection

Projections: c("lonlat","sphere","np","sp") - the latter gives stereographic views from the North and south poles.

verbose

if TRUE print progress

x

A data.frame containing ensemble statistics of linear trends. Output from the function trend.dsensemble.

See Also

trend.dsensemble map.dsensemble aggregate.dsensemble


metno/esd documentation built on April 29, 2024, 3:34 p.m.