Description Usage Arguments Details Value
View source: R/ExtractData_ClimateDownscaling.R
Adds/removes elements of data until identical(length(data), targetLength)
1 | fix_PPTdata_length(data, targetLength, seed = NA)
|
data |
A numeric vector. Daily values of precipitation. |
targetLength |
An integer value. |
seed |
A seed set, |
Removal of elements is by random sampling. Addition of elements is by randomly
placing them within the sequence of days of data and them randomly
assigning values of the original data with replacement.
A copy of data with adjusted length.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.