As maxnet does not have native functionality for making prediction rasters, this function does it. It is a wrapper for the internal enm.maxnet@predict function, which is not really intended for use outside the package.
maxnet.predictRaster(mod, envs, pred.type = "cloglog", doClamp = TRUE, ...)
maxnet object
SpatRaster
character: the type of maxnet prediction to make; the default is "cloglog"
Boolean: whether to clamp predictions or not
any additional parameters