[R] Caret and Summary

Kuhn, Max Max.Kuhn at pfizer.com
Thu Oct 29 18:17:24 CET 2015



On 10/29/15, 11:46 AM, "Lorenzo Isella" <lorenzo.isella at gmail.com> wrote:

>Dear All,
>I trained a model, let's call it mm, using caret+Cubist.
>When I type summary(mm), the output is rather long.
>This is because a Cubist model is a long set of rules, partially
>reminiscent of a classification tree.
>How can I save summary(mm) in a printer/article friendly way when this is
>long?

Other that using `capture.output`, I do not think so.

>Specifically to Cubist, is there some way to plot the structure of the
>rules?

There is a `dotplot` function that works with cubist objects. Besides
this, I do not know of any.

Thanks,

Max



More information about the R-help mailing list