join: join an mpm-estimated behavioural index to ssm-predicted locations
Description
`join()` joins ssm-predicted locations and mpm-estimated behavioural index into a single tibble. If the ssm-predicted tibble is a projected sf object then the output of join will also be an sf object (default). This can be avoided by using `as_sf = FALSE`.
Usage
join(ssm, mpm, as_sf = TRUE)
Arguments
ssm
a foieGras ssm fitted model object
mpm
a foieGras mpm fitted model object
as_sf
logical; if FALSE then return a tibble with unprojected lonlat
coordinates, otherwise return an sf tibble
# NOT RUN {## load example foieGras fit objects (to save time)data(fssm)
data(fmpm)
## join predicted values as an unprojected tibblefsmp <- join(fssm, fmpm, as_sf = FALSE)
fsmp
# }