% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.seals.R
\name{import.seals}
\alias{import.seals}
\title{Seal pup edata import}
\usage{
import.seals(sealfile = "WestIce2012.csv",
  icefile = "reflectance_0.0025deg_grid_modis_20120328_1310.tif")
}
\arguments{
\item{sealfile}{Character pointing to the file containing the seal counts and photo locations}

\item{icefile}{Character pointing to the .tif file containing the ice sheet covariate}
}
\value{
The \link{seals} data set
}
\description{
Generate \code{Spatial} objects from raw seal pup survey data (not inlcuded in \link{inlabru}). Note that this function
will only extract one of the survey transects.
}
\author{
Fabian E. Bachl <\email{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
}
\keyword{internal}
