powered by
Generate a variable used to selected a training sample
make_train(n = 0.7, nr = 100, seed = 1234)
Number (or fraction) of observations to label as training
Number of rows in the dataset
Random seed
0/1 variables for filtering
# NOT RUN { make_train(.5, 10) # }
Run the code above in your browser using DataLab