View source: R/pre_comp_xval.R
pre_comp_xval | R Documentation |
Pre-computed cross-plan (so same split happens each time).
pre_comp_xval(nRows, nSplits, splitplan)
nRows |
number of rows to split (integer >1). |
nSplits |
number of groups to split into (ignored). |
splitplan |
split plan to actually use |
splitplan
p1 <- oneWayHoldout(3,NULL,NULL,NULL)
p2 <- pre_comp_xval(3, 3, p1)
p2(3, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.