preProcess: Data Pre-processing for Multivariate Adaptive Frontier Splines.
Description
This function arranges the data in the required format and
displays error messages.
Usage
preProcess(data, x, y, na.rm = TRUE)
Value
It returns a data.frame in the required format.
Arguments
- data
data.frame or matrix containing the variables
in the model.
- x
Column input indexes in data.
- y
Column output indexes in data.
- na.rm
logical If TRUE, NA rows are omitted.