Description Usage Arguments Details Value Author(s) References See Also Examples
Make a Raster object with predictions from one or several fitted model in sdmModel object.
1 2 |
object |
sdmModel object |
newdata |
Raster* object, or data.frame |
filename |
character, output file name, if missing, a name starts with sdm_prediction will be generated |
models |
character, names of fitted models, e.g., glm, brt, etc. |
species |
character or numeric, specifies which species should be used if the object contains models for multiple species |
scenario |
character, specifies the names of partitioning scenarios,if missing, all available scenarios are considered |
mean |
logical, works if multiple runs for partitioning scenarios are used to fit the models, and specifies whether a mean should be calculated over all predictions |
overwrite |
logical, whether the filename should be overwriten it it does exist |
... |
additional arguments, as for writeRaster |
predict uses the fitted models in the sdmModel to generate the prediction given newdata. A raster (if newdata is Raster object) or data.frame (if newdata is data.frame) will be created.
a Raster object or data.frame
Babak Naimi naimi.b@gmail.com
#
#
1 | #
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.