train_test: train test split

Description Usage Arguments

Description

Train Test split

Usage

1
train_test(df, y, p = 0.75, groups = min(5, length(y)), seed = NULL)

Arguments

df

dataframe

y

outcome variable

p

proportion between train and test sets

groups

numbre of groups to be used in stratified sample

seed

seed


elpidiofilho/labgeo documentation built on May 14, 2019, 9:35 a.m.