Skip to contents

Calls sdmtools::predict_mpp_rast over all species in model

Usage

predict_mpp_rast_all(
  model,
  data,
  type = c("response", "link"),
  filename = NULL,
  overwrite = FALSE
)

Arguments

model

A multispeciesPP model object

data

SpatRaster object with covariate and bias layers

type

character. Prediction scale — "response" or "link".

filename

characterto save output

overwrite

logical overwrite existing filename?

Value

SpatRaster