Make predictions outside (or inside) the covered area.
# S3 method for dsm
predict(object, newdata = NULL, off.set = NULL,
type = "response", ...)a fitted dsm object as produced by dsm().
spatially referenced covariates e.g. altitude, depth, distance to shore, etc. Covariates in the data.frame must have names *identical* to variable names used in fitting the DSM.
area of each of the cells in the prediction grid. Should be in the same units as the segments/distances given to dsm. Ignored if there is already a column in newdata called off.set.
what scale should the results be on. The default is
"response", see predict.gam for an explanation of other options (usually not necessary).
any other arguments passed to predict.gam.
predicted values on the response scale (density/abundance).
If newdata is not supplied, predictions are made for the data that built the model. Note that the order of the results will not necessarily be the same as the segdata (segment data) data.frame that was supplied (it will be sorted by the Segment.Label field).