Description Usage Arguments Value Author(s) Examples
View source: R/sample_splits.R
rsplit
returns a matrix with random splits of the variables in groups.
1 |
n |
Number of sample splits. |
p |
Number of variables or objects to split. |
G |
Number of groups into which the variables are split. |
use.all |
Boolean variable to determine if all variables must be used (default is TRUE). |
fix.partition |
Optional matrix with G columns indicating the partitions (in each row) to be considered for the splits. |
verbose |
Boolean variable to determine if console output for cross-validation progress is printed (default is TRUE). |
A matrix or list with the number of possible objects in each group using splits.
Anthony-Alexander Christidis, anthony.christidis@stat.ubc.ca
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.