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).
The easiest way to use any of the functions in the rpart.LAD package is to install the CRAN version. It can be installed from within R using the command:
#!R
install.packages("rpart.LAD")
The devtools package contains functions that allow you to install R packages directly from bitbucket or github. If you've installed and loaded the devtools package, the installation command is
#!R
install_bitbucket("sdlugosz/rpart.lad")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.