| Title: | Least Absolute Deviation Regression Trees |
|---|---|
| Description: | Recursive partitioning for least absolute deviation regression trees. Another algorithm from the 1984 book by Breiman, Friedman, Olshen and Stone in addition to the 'rpart' package (Breiman, Friedman, Olshen, Stone (1984, ISBN:9780412048418). |
| Authors: | Stephan Dlugosz [aut,cre] |
| Maintainer: | Stephan Dlugosz <[email protected]> |
| License: | GPL-3 |
| Version: | 0.1.3 |
| Built: | 2026-05-10 08:16:40 UTC |
| Source: | https://github.com/cran/rpart.LAD |
'rpart'-method: List of required functions for inducing 'rpart'-like LAD regression trees
LADLAD
An object of class list of length 4.
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)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)