Fit predictive models

Description

These functions fit parametric and non-parametric models to data.

Usage

1
2
3
4
5
6
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 glm. Default is 'binomial'. Only used by glmModels

model

see glm. Default is FALSE. Only used by glmModels

...

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 categories. Only required if 'obs' is missing

Value

A PredictiveModelList object.

See Also

glm, rpart::rpart, randomForest::randomForest

Examples

1
## see lulcc-package examples

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.