characterize.emp.dist: Characterize empirical distributions

Description Usage Arguments Details

View source: R/normalizeresiduals.R

Description

Given a vector of residuals in a single grid cell that empirically characterizes the distribution of residuals, return a CDF and quantile function for that grid cell.

Usage

1
characterize.emp.dist(inputresids, len = NULL)

Arguments

inputresids

Matrix of the original, input residuals for each grid cell (columns)

len

Maximum length of the time series to read. If the data read is longer, it will be trimmed. (Default: read entire time series, regardless of length.)

Details

The output will be a list with two fields:

cdf

List of empirical CDF functions for each grid cell

quant

List of empirical quantile functions for each grid cell.

Conventionally, we refer to the output list as empiricaldistribution. Notably, any other function with a empiricaldistribution argument is expecting one of these structures.


JGCRI/fieldgenr documentation built on July 22, 2020, 3:17 a.m.