predict_table: Predict using tibble class object

View source: R/predict.R

predict_tableR Documentation

Predict using tibble class object

Description

Predict using tibble class object

Usage

predict_table(model, predictors, include_prob = TRUE, ...)

Arguments

model

either a 'model_fit' object or a file description to one

predictors

a table (data.frame or tibble) or raster (terra or stars)

include_prob

logical, if TRUE include probabilities of occurrence

...

arguments passed to predict

Value

tibble of predictions, possibly with prob. In the event that the predictors have no complete cases (at least one NA in each row) then the prediction returned is NA everywhere with a warning


BigelowLab/calanusthreshold documentation built on May 12, 2022, 5:06 a.m.