Displaying 1 result from an estimated 1 matches for "trainclassesdfagrps2".
2013 Nov 06
1
R help-classification accuracy of DFA and RF using caret
...ta. As I am relatively new to R and my thesis committee is unable to help as they are also unfamiliar with R, I thought it best to ask for help. Would someone be willing to help me?
Thanks,
Robin
http://www.epa.gov/wed/pages/models/rivpacs/rivpacs.htm
> TrainDataDFAgrps2 <-predcal
> TrainClassesDFAgrps2 <-grp.2;
> DFAgrps2Fit1 <- train(TrainDataDFAgrps2, TrainClassesDFAgrps2,
+ method = "lda",
+ tuneLength = 10,
+ trControl = trainControl(method = "cv"));
Error in train.default(TrainDataDFAgrps2, TrainClassesDFAgrps2, method = "lda", :
wrong model type fo...