Description Usage Arguments Examples
Intended for use with caret; creates folds based on the group allocations Use in place of createFolds
1 | createFoldsByGroup(group.allocation)
|
group.allocation |
a vector describing which group/fold each item belongs to. |
1 2 | createFoldsByGroup(c(1,1,1,1,2,2,2,2,3,3,3))
#create 3 folds; two with 4 members each and the third with 3 members.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.