predict | R Documentation |
Make a RasterLayer with predictions from a fitted model object.
## 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, ...)
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
|
parallel |
logical. If |
n |
numeric. Number of CPU cores to utilize for parallel processing |
... |
Additional arguments for |
Returns a RasterLayer of sensitivity, departure, or vulnerability predictions, depending on the class of object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.