Splits master dataset into a training set and a testing set.

split_data( 
  df,
  train_prop = 0.8
)

Arguments

df

A master dataframe.

train_prop

The proportion of the dataset to allocate to the training set.

Value

Two dataframes.