characterize.emp.dist.Rd
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.
characterize.emp.dist(inputresids, len = NULL)
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.) |
The output will be a list with two fields:
List of empirical CDF functions for each grid cell
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.