Description Usage Arguments Examples
View source: R/findPeriodsLengthGrid.R
This function finds the length of wet/dry periods in the dataset per gridcell, and return a matrix with the results (gridcell i, number of periods with length j).
1 | findPeriodsLengthGrid(data, periodLength, frec = T, threshold = 0.1, d = F)
|
data |
Data, 3d array |
periodLength |
Length of one period/season in days |
frec |
Return frequency instead of number of occurences. Defaults to TRUE |
threshold |
Threshold for seting values to zero. Defaults to 0.1. |
d |
If true, we calculate for drydays, else wet. Defaults to False |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.