calc_Days_withLoweredPPT: Distribute precipitation among days without too extreme...

Description Usage Arguments

View source: R/ExtractData_ClimateDownscaling.R

Description

Distribute precipitation among days without too extreme values

Usage

1
2
3
4
5
6
7
8
calc_Days_withLoweredPPT(
  data_N,
  this_newPPTevent_N,
  sigmaN,
  this_i_extreme,
  this_pptToDistribute,
  seed = NA
)

Arguments

data_N

An integer value. The number of days of the precipitation record to consider.

this_newPPTevent_N

An integer value. The number of days which will received 'spill-over' precipitation.

sigmaN

An integer value. The multiplier of this_newPPTevent_N to determine the range of days to consider.

this_i_extreme

An integer value. The index indicating for which day in the precipitation record, precipitation is removed and redistributed.

this_pptToDistribute

An integer value. The amount of precipitation that was removed from day this_i_extreme and is now redistributed to other days.

seed

A seed set, NULL, or NA. NA will not affect the state of the RNG; NULL will re-initialize the RNG; and all other values are passed to set.seed.


Burke-Lauenroth-Lab/rSFSW2 documentation built on Aug. 14, 2020, 5:20 p.m.