Displaying 1 result from an estimated 1 matches for "dfagrps2fit1".
2013 Nov 06
1
R help-classification accuracy of DFA and RF using caret
...y 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 for regression
> RFgrps2Fit1...