ZoonPredict: ZoonPredict

Description Usage Arguments Details

View source: R/zoonPredict.R

Description

module developer tool: Predict from a ZoonModel object

Usage

1
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.


zoonproject/zoon documentation built on Oct. 1, 2018, 2:13 p.m.