getWindowIndex: Get the index of the window days.

Description Usage Arguments Author(s)

View source: R/getWindowIndex.R

Description

Get the index of the days that corresponding to the window and the target days centered in it.

Usage

1
getWindowIndex(y, x, newdata, window, delta.method = FALSE)

Arguments

y

A grid or station data containing the observed climate data for the training period

x

A grid or station data containing the simulated climate data for the training period

newdata

A grid containing the simulated climate for the test period. "scaling", "pqm" and "gpqm" "variance","loci" and "ptr". See details.

window

vector of length = 2 (or 1) specifying the time window width used to calibrate and the target days (days that are being corrected). If the window length = 1 the window width is no larger than the target days. The window is centered on the target day/s (window width >= target days).

delta.method

Logical (default is FALSE).

Author(s)

M. Iturbide


SantanderMetGroup/transformeR documentation built on Feb. 14, 2020, 5:55 p.m.