append SMRU tables so each event has SSM-derived lon, lat, x, y, x.se, y.se.

smru_append_ssm(
  smru,
  fit,
  what = "p",
  meta,
  gps.tab = FALSE,
  cut = FALSE,
  dropIDs = NULL
)

Arguments

smru

SMRU table file - output of pull_smru_tables

fit

final foieGras fit object

what

choose which locations to use for annotating SMRU tables (default = "predicted")

meta

metadata used to truncate start of diag data for each individual

gps.tab

logical; does a SMRU GPS table exist, if so append to this as well

cut

drop predicted locations if keep = FALSE, ie. locations in a large data gap

dropIDs

SMRU refs to be dropped