Skip to contents

test-train split

Usage

ttsplit(df, k = 0.75)

Arguments

df

[data.frame, matrix] data table (n x p)

k

share of data obs in train

Value

list with test and train