# Calculate the maximum effect for all windows of 10 days length
metsulfuron %>%
  set_window(length=10, interval=1) %>%
  effect()
# Disable moving exposure windows
metsulfuron %>%
  set_nowindow() %>%
  effect()
Run the code above in your browser using DataLab