Model fitting {lulcc} | R Documentation |
Fit predictive models
Description
These functions fit parametric and non-parametric models to data.
Usage
glmModels(formula, family = binomial, model = FALSE, ..., obs,
categories = NA, labels = NA)
randomForestModels(formula, ..., obs, categories = NA, labels = NA)
rpartModels(formula, ..., obs, categories = NA, labels = NA)
Arguments
formula |
list containing formula objects |
family |
see |
model |
see |
... |
additional arguments to specific functions |
obs |
an ObsLulcRasterStack object |
categories |
numeric vector of land use categories in observed maps. Only required if 'obs' is missing |
labels |
character vector (optional) with labels corresponding to
|
Value
A PredictiveModelList object.
See Also
glm
, rpart::rpart
,
randomForest::randomForest
Examples
## see lulcc-package examples
[Package lulcc version 1.0.4 Index]