Re: [R] Lda and Qda

2007-12-28 Thread Prof Brian Ripley
?lda explains the object produced: please do study it. Hint: you asked for leave-one-out cross-validation, and what is the output from cross-validation of a classifer? The predicted class for each observation. How many observations do you have? You are using software from a contributed

[R] Lda and Qda

2007-12-27 Thread pedrosmarques
Hi all, I'm working with some data: 54 variables and a column of classes, each observation as one of a possible seven different classes: var.can3-lda(x=dados[,c(1:28,30:54)],grouping=dados[,55],CV=TRUE) Warning message: In lda.default(x, grouping, ...) : variables are collinear