Thank you for all help. It is helpful for me. Max Kuhn wrote: > >> I noticed Max already pointed you to the caret package. >> >> Load the library and look at the help for the createFolds function, eg: >> >> library(caret) >> ?createFolds > > I think that the createDataPartition function in caret might work > better for you. > > There are a number of other packages with similar functions. > > Max > > ______________________________________________ > 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. > >
-- View this message in context: http://n4.nabble.com/Help-Suggest-me-some-methods-to-identify-training-set-and-test-set-tp976245p976641.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.