sample_split {aggTrees} | R Documentation |
Sample Splitting
Description
Splits the sample into training and honest subsamples.
Usage
sample_split(n, training_frac = 0.5)
Arguments
n |
Size of the sample to be split. |
training_frac |
Fraction of units for the training sample. |
Value
A list storing the indexes for the two different subsamples.
Author(s)
Riccardo Di Francesco
[Package aggTrees version 2.0.2 Index]