Generate Spatial
objects from raw seal pup survey data (not inlcuded in
inlabru). Note that this function
will only extract one of the survey transects.
import.seals(
sealfile = "WestIce2012.csv",
icefile = "reflectance_0.0025deg_grid_modis_20120328_1310.tif"
)
The seals data set
Character pointing to the file containing the seal counts and photo locations
Character pointing to the .tif file containing the ice sheet covariate
Fabian E. Bachl bachlfab@gmail.com
Load seal data Turn seal data into spatial object To avoid confusion I remove the x-y coordinates created by Martin Change CRS Select a strip Add total number of seals Build a mesh. This mesh will be fine at the photo locations but coarse elsewhere Let's plot the observed counts Ice Covariate Interpolate ice covariate Add band1 covariate to seals data frame Plot seal count and ice together Create a data set