getPredictiveModelInputData {lulcc}R Documentation

Extract data to fit predictive models

Description

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

Usage

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

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

Value

A data.frame.

See Also

as.data.frame, ObsLulcRasterStack, ExpVarRasterList, partition

Examples


## TODO

[Package lulcc version 1.0.4 Index]