Learn R Programming

landpred (version 2.0)

predict.landpred_model_continuous: Predict Method for Landpred Continuous Model

Description

Predicts the probability of the event occurring given new data.

Usage

# S3 method for landpred_model_continuous
predict(object, newdata = NULL, type = "response", ...)

Value

A vector of predicted probabilities.

Arguments

object

A landpred_model_continuous object.

newdata

New data frame containing covariates and short-term event info.

type

Type of prediction (default "response").

...

Additional arguments