Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

predict

Predict methods


Description

Make a RasterLayer with predictions from a fitted model object.

Usage

## S4 method for signature 'cnfa'
predict(object, newdata, filename = "", parallel = FALSE, n = 1, ...)

## S4 method for signature 'enfa'
predict(object, newdata, filename = "", parallel = FALSE, n = 1, ...)

## S4 method for signature 'departure'
predict(object, filename = "", parallel = FALSE, n = 1, ...)

## S4 method for signature 'vulnerability'
predict(object, newdata, filename = "", parallel = FALSE, n = 1, ...)

Arguments

object

model object

newdata

optional new data

filename

character. Optional filename to save the RasterBrick output to file. If this is not provided, a temporary file will be created for large x

parallel

logical. If TRUE then multiple cores are utilized

n

numeric. Number of CPU cores to utilize for parallel processing

...

Additional arguments for writeRaster


CENFA

Climate and Ecological Niche Factor Analysis

v1.1.0
GPL (>= 3)
Authors
D. Scott Rinnan
Initial release
2020-02-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.