epx_mtw: Calculate EPx values for a series of moving time window
Description
Calls epx()
to calculate the EPx value (i.e. the multiplication factors of
an exposure profile that cause x% of effect) for moving windows with length
window_length
that move timesteps defined by window_interval
.
Usage
epx_mtw(
x,
level = c(10, 50),
factor_cutoff = 1000,
window_length = 7,
window_interval = 1,
...
)
Value
a tibble with five columns
window.start
window.end
endpoint
level
EPx
Arguments
- x
a scenario
- level
The target effect level of the effect, ie. the x of EPx.
- factor_cutoff
above which cutoff is the EPx is not relevant
- window_length
the length of the moving time window
- window_interval
the interval that the moving time window moves
- ...
arguments passed to epx
Examples
Run this codemetsulfuron %>%
set_window(length=7, interval=1) %>%
epx_mtw()
Run the code above in your browser using DataLab