ttsplit | R Documentation |
test-train split
ttsplit(df, k = 0.75)
df |
[data.frame, matrix] data table (n x p) |
k |
share of data obs in train |
list with test and train
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.