findPeriodsLength: Finds length of wet periods.

Description Usage Arguments Examples

View source: R/findPeriodsLength.R

Description

This function finds the length of wet periods in the dataset and places the data in a given matrix.

Usage

1
findPeriodsLength(data, r, m, threshold = 0.1, d = F)

Arguments

data

Data, 3d array, matrix, list or vector

r

Row in matrix m to place data

m

Matrix to place returned data.

threshold

Threshold for seting values to zero. Defaults to 0.1.

d

If true, we calculate for drydays, else wet. Defaults to False

Examples

1

NorskRegnesentral/climModelEval documentation built on Jan. 16, 2020, 12:49 a.m.