Re: [R] CART with a circular response

2010-07-16 Thread Terry Therneau
> Could anyone advise me how can I implement classification and > regression tree analyses for a circular response (angles)? Rpart allows for user-defined splitting rules. You need to define a function which is given y and an ordered x, and returns the 'goodness of split' for each split point. Y

[R] CART with a circular response

2010-07-15 Thread Duarte Viana
Hello all, Could anyone advise me how can I implement classification and regression tree analyses for a circular response (angles)? Is there available R code or I would have to adapt code from "rpart" or "tree" libraries, which I am not sure would be able to do it? I would really appreciate any