map.dsensemble: expandpca

View source: R/map.dsensemble.R

map.dsensembleR Documentation

expandpca

Description

map.dsensemble is a wrapper for map that distills ensemble statistics from PCA-based dsensemble objects. The argument 'FUNX' is the function that is applied to the ensemble. If 'FUNX' is 'mean', the function expandpca is used to aggregate the data, otherwise the function aggregate.dsensemble is employed. The difference is that expandpca applies 'FUNX' to the PCs before expanding the data, while aggregate.dsensemble expands the data for all ensemble members before aggregating them which is more suitable when calculating e.g. the .

Usage

## S3 method for class 'dsensemble'
map(
  x,
  it = c(2000, 2099),
  is = NULL,
  im = NULL,
  ip = NULL,
  colbar = list(pal = NULL, rev = FALSE, n = 10, breaks = NULL, pos = 0.05, show = TRUE,
    type = "p", cex = 2, h = 0.6, v = 1),
  FUN = "mean",
  FUNX = "mean",
  verbose = FALSE,
  anomaly = FALSE,
  test = FALSE,
  plot = TRUE,
  ...
)

Arguments

x

an object of type 'pca'

it

time index (see subset)

FUN

function applied to aggregate in time

FUNX

function applied aggregate ensemble members

verbose

if TRUE print progress

anomaly

if FALSE add the mean value stored as attribute in x

test

if TRUE perform test on one GCM simulation

See Also

map aggregate.dsensemble expandpca


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