JStainer wrote: > an example from my R table will calculating the average LOOCV for two > treatments ALL and AML > > table > ALL AML > 1 1.2 .3 > 2 .87 .3 > 3 1.1 .5 > 4 1.2 .7 > 5 3.2 1.2 > 6 1.1 1.1 > 7 .90 .99 > 8 1.1 .32 > 9 2.1 1.2 > > > > > > > JStainer wrote: >> Hi, >> >> I am trying to find out the best way to calculate the average LOOCV in R >> for several classifier for, KNN, centroid classification, DLDA and SVM. >> >> I have four types of diseases and 62 samples. >> >> Is there a R code available to do this?
See ?errorest in package ipred, for example. Uwe Ligges ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.