Learn R Programming

lulcc (version 1.0.4)

getPredictiveModelInputData: Extract data to fit predictive models

Description

Extract a data.frame containing variables required for fitting predictive models.

Usage

getPredictiveModelInputData(obs, ef, cells, ...)

Value

A data.frame.

Arguments

obs

an ObsLulcRasterStack object

ef

an ExpVarRasterList object

cells

index of cells to be extracted, which may be a SpatialPoints* object or a numeric vector representing cell numbers (see raster::extract)

...

additional arguments to as.data.frame

See Also

as.data.frame, ObsLulcRasterStack, ExpVarRasterList, partition

Examples

Run this code

## TODO

Run the code above in your browser using DataLab