View source: R/mitigate_loop.R
mitigate_loop | R Documentation |
To test the effects of seasonally displacing ship traffic
(i.e., rescheduling transits from a given month into other months)
or seasonally cancelling ship traffic
(i.e., a moratorium), you can use the shipstrike
function mitigate_loop()
,
which applies the displacement window to each candidate month in a loop.
This allows us to determine which month would be the most efficacious target for mitigation.
mitigate_loop(
outcomes,
mitigation_duration = 1,
reschedule = FALSE,
vessels = c("Tanker > 100m", "Cargo > 100m", "Passenger > 100m",
"LNG Canada tanker in-heel", "LNG Canada tanker in-product",
"LNG Canada tug in-heel", "LNG Canada tug in-product", "Cedar LNG tanker in-heel",
"Cedar LNG tanker in-product", "Cedar LNG tug in-heel", "Cedar LNG tug in-product")
)
outcomes |
The result of |
mitigation_duration |
Number indicating the number of months to use as a mitigation period. Keen et al. (2023) tests durations of 1, 2, and 3 months. |
reschedule |
Boolean, with default |
vessels |
A character vector indicating for which vessel types this mitigation action applies. |
See the shipstrike
package vignette & Keen et al. (2023) for details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.