Description Usage Arguments Examples
Separete Train and test samples whit group variable
1 | train_validation_perfil(df, perfil, p = 0.8, seed = NULL)
|
df |
dataframe |
p |
sample proportion |
seed |
random number seed |
perfilt |
groupp vector |
1 2 3 4 | ## Not run:
vs = train_validatio_perfil(d, d$perfil, p = 0.8, seed = 313)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.