powered by
Extract a data.frame containing variables required for fitting predictive models.
getPredictiveModelInputData(obs, ef, cells, ...)
A data.frame.
an ObsLulcRasterStack object
an ExpVarRasterList object
index of cells to be extracted, which may be a SpatialPoints* object or a numeric vector representing cell numbers (see raster::extract)
SpatialPoints*
raster::extract
additional arguments to as.data.frame
as.data.frame, ObsLulcRasterStack, ExpVarRasterList, partition
as.data.frame
ObsLulcRasterStack
ExpVarRasterList
partition
## TODO
Run the code above in your browser using DataLab