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 suggestion. Duarte
> 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. You need to decide how to define "goodness". Terry Therneau