LAD {rpart.LAD}R Documentation

'rpart'-method: List of required functions for inducing 'rpart'-like LAD regression trees

Description

'rpart'-method: List of required functions for inducing 'rpart'-like LAD regression trees

Usage

LAD

Format

An object of class list of length 4.

Examples

  mystate <- data.frame(state.x77, region = state.region)
  names(mystate) <- casefold(names(mystate)) #remove mixed case

  fit <-  rpart(murder ~ ., data = mystate, minsplit = 10, method = LAD)
  plot(fit); text(fit)


[Package rpart.LAD version 0.1.3 Index]