Description Usage Arguments Value
View source: R/ExtractData_ClimateDownscaling.R
Add/multiply deltas to historic daily precipitation to generate future daily precipitation with checks
1 | applyPPTdelta_detailed(m, data, ydelta, add_days, mult_days, daily, monthly)
|
m |
An integer vector. Each element corresponds to a day (i.e., |
data |
A numeric vector. Precipitation of each day. |
ydelta |
A numeric vector. Delta values for each day. If computed deltas are monthly, then they must be repeated for each day before passed as argument to this function. |
add_days |
A logical vector. |
mult_days |
A logical vector. |
daily |
A list. Each element corresponds to one year of |
monthly |
A numeric matrix. Monthly time-series of observed weather calculated
from |
A list with two elements
A copy of data
with adjusted values.
The total amount of precipitation that could not be removed
from data
due to lack of precipitation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.