This function is deprecated, use dsm_var_gam.
dsm.var.gam(
dsm.obj,
pred.data,
off.set,
seglen.varname = "Effort",
type.pred = "response"
)
a model object fitted by dsm
.
either: a single prediction grid or list of prediction
grids. Each grid should be a data.frame
with the same columns as the
original data.
a a vector or list of vectors with as many elements as there
are in pred.data
. Each vector is as long as the number of rows in the
corresponding element of pred.data
. These give the area associated with
each prediction cell. If a single number is supplied it will be replicated
for the length of pred.data
.
name for the column which holds the segment length
(default value "Effort"
).
should the predictions be on the "response" or "link"
scale? (default "response"
).