[R-pkgs] `partykit': A Toolkit for Recursive Partytioning

From: Torsten Hothorn <Torsten.Hothorn_at_r-project.org>
Date: Mon, 03 Oct 2011 18:00:29 +0200 (CEST)

New package `partykit': A Toolkit for Recursive Partytioning

The purpose of the package is to provide a toolkit with infrastructure for representing, summarizing, and visualizing tree-structured regression and classification models. Thus, the focus is not on _inferring_ such a tree structure from data but to _represent_ a given tree so that printing/plotting and computing predictions can be performed in a standardized way. In particular, this unified infrastructure can be used for reading/coercing tree models from different sources (packages `rpart', `RWeka', `PMML') yielding objects that share functionality for `print()', `plot()', and `predict()' methods.

The impatient users will hopefully have fun with

install.packages("partykit")
library("partykit")
library("rpart")
### from ?rpart
fit <- rpart(Kyphosis ~ Age + Number + Start, data = kyphosis) plot(as.party(fit))

Best,

Torsten & Achim



R-packages mailing list
R-packages_at_r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages Received on Wed 05 Oct 2011 - 02:03:10 EST

This archive was generated by hypermail 2.2.0 : Wed 05 Oct 2011 - 02:10:01 EST