Skip to contents

Resample Dataset

Usage

resample_dataset(model_data, method = "random", prop = 0.8)

Arguments

model_data

(reduced) model data set as retrieved by model_data_reduced

method

resampling method. Either "random" or "by_well" (default: "random")

prop

The proportion of data to be retained for modeling/analysis (default: 0.8), i.e. 80% of the dataset

Value

list with elements "training" and "testing" datasets