preprocessing: Prepare Data and Handle Errors
Description
This function arranges the data in the required format and displays some error messages.
Usage
preprocessing(data, x, y)
Value
It returns a matrix in the required format and displays some error messages.
Arguments
- data
A data.frame or matrix containing the variables in the model.
- x
Column indexes of input variables in data.
- y
Column indexes of output variables in data.