sample_split {aggTrees} | R Documentation |
Splits the sample into training and honest subsamples.
sample_split(n, training_frac = 0.5)
n |
Size of the sample to be split. |
training_frac |
Fraction of units for the training sample. |
A list storing the indexes for the two different subsamples.
Riccardo Di Francesco