re-apply SSM filter to diag data for id's that failed to converge. parallelized

redo_multi_filter(
  fit,
  diag_sf,
  model = "crw",
  ts = 3,
  vmax = 2,
  ang = c(15, 25),
  distlim = c(1500, 5000),
  min.dt = 180,
  map = NULL,
  reroute = TRUE,
  dist = 1500,
  barrier = NULL,
  verbose = TRUE,
  ...
)

Arguments

fit

aniMotum fit object from first round of filtering

diag_sf

sf-projected diag to be used

model

model argument ("rw" or "crw) for aniMotum::fit_ssm

ts

time.step argument for aniMotum::fit_ssm

vmax

threshold travel speed (m/s) to apply during track pre-filtering

ang

sdafilter argument

distlim

sdafilter argument

min.dt

min.dt argument for aniMotum::fit_ssm

map

params to fix

reroute

(logical) should SSM-predicted locations be re-routed off of land (default is TRUE)

dist

the distance (in km) to buffer around predicted locations. This buffer allows a larger portion of coastline to be selected for rerouting any locations that are on land. More coastline polygon data can help rerouting, but too much will make computation very slow.

barrier

add a custom POLYGON/MULTIPOLYGON shapefile to use as a land barrier. Default (NULL) reverts to the aniMotum default land barrier.

verbose

turn on/off furrr::future_map progress indicator

...

additional arguments to aniMotum::route_path