[R] Help,Suggest me some methods to identify training set and test set!!!

Max Kuhn mxkuhn at gmail.com
Mon Dec 21 18:31:50 CET 2009


> 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




More information about the R-help mailing list