Process the data according to a preProcess object

preproc_data(raw_training_data, ppc, labels)

Arguments

raw_training_data

a data.frame of sanitized data

ppc

a preProcess object from get_ppc()

labels

character or factor the labels

Value

a named list with two elements: data a data.frame with the transformed data; labels the labels