Re: [R] using xval in mvpart to specify cross validation groups

2010-03-12 Thread Andrew Dolman
Thank you Dennis, I've got the idea now. However, a followup question to make sure I'm not wasting my time. If I specify the precise CV folds to use, should I not get the same tree every time? e.g. here I have an hypothetical time sequence observed with error from 3 sites 's' If I specify to l

[R] using xval in mvpart to specify cross validation groups

2010-03-12 Thread Andrew Dolman
Dear R's I'm trying to use specific rather than random cross-validation groups in mvpart. The man page says: xval Number of cross-validations or vector defining cross-validation groups. And I found this reply to the list by Terry Therneau from 2006 The rpart function allows one to give the cro