Re: [R] rpart.predict error--subscript out of bounds

2006-04-07 Thread Uwe Ligges
Leon wrote: Hi, I am using rpart to do leave one out cross validation, but met some problem, Data is a data frame, the first column is the subject id, the second column is the group id, and the rest columns are numerical variables, Data[1:5,1:10] sub.id group.id X3262.345 X3277.402

[R] rpart.predict error--subscript out of bounds

2006-04-06 Thread Leon
Hi, I am using rpart to do leave one out cross validation, but met some problem, Data is a data frame, the first column is the subject id, the second column is the group id, and the rest columns are numerical variables, Data[1:5,1:10] sub.id group.id X3262.345 X3277.402 X3369.036 X3439.895