Model-fitting: Fit predictive models

Description Usage Arguments Value See Also Examples

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


Search within the lulcc package
Search all R packages, documentation and source code

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

Please suggest features or report bugs with the GitHub issue tracker.

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