cvSplit | R Documentation |
Select the optimal tuning for bootstrap-calibrated R-Split through cross-validation
cvSplit(y, x, r = NULL, G = NULL, B = NULL, BB = NULL, ratio = NULL, fold = 2)
y |
response |
x |
design matrix |
r |
candidate tuning parameter |
G |
subgroup indicator |
B |
bootstrap iterations |
BB |
bootstrap iterations for repetitive splitting |
ratio |
ratio of data splitting |
fold |
number of folds in cross-validation |
op |
optimal tuning parameter |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.