set_window {cvasi} | R Documentation |
Set window length
Description
Exposure windows are defined as a period of time at the scale of the exposure series.
As an example: if an exposure series has an hourly time step, a window length
of 24
will consider the exposure within 24 hours intervals for effect
calculation. The same applies for the window interval, i.e. the period between
considered exposure windows. Set length=-1
to disable moving windows.
Usage
set_window(x, length, interval)
Arguments
x |
vector of |
length |
|
interval |
|
Value
modified EffectScenario
objects
Examples
# calculate the maximum effect for all windows of 10 days length
metsulfuron %>%
set_window(length=10, interval=1) %>%
effect()
[Package cvasi version 1.1.3 Index]