module developer tool: Predict from a ZoonModel object

ZoonPredict(zoonModel, newdata)

Arguments

zoonModel

a zoonModel object

newdata

a dataframe containing data to predict to.

Details

This function is only intended to be used when developing new modules, not for running zoon workflows. Given a zoonModel object returned by a model module using the function ZoonModel, make a prediction to a new dataframe. Values returned must be on the response scale (e.g. probabilities of presence). For an example, see the source code for the module mgcv.