[R] Regression trees with an ordinal response variable
Torsten Hothorn
Torsten.Hothorn at rzmail.uni-erlangen.de
Sat Feb 3 11:25:21 CET 2007
On Fri, 2 Feb 2007, Henric Nilsson (Public) wrote:
> Torsten, consider the following:
>
>> ### ordinal regression
>> mammoct <- ctree(ME ~ ., data = mammoexp)
> Warning message:
> no admissible split found
>> ### estimated class probabilities
>> treeresponse(mammoct, newdata = mammoexp[1:5, ])
> [[1]]
> [1] 1.822115
>
> [[2]]
> [1] 1.265487
>
> [[3]]
> [1] 1.822115
>
> [[4]]
> [1] 1.560440
>
> [[5]]
> [1] 1.822115
>
works again as advertised in party 0.9-9. Thanks for pointing this out!
Best wishes,
Torsten
More information about the R-help
mailing list