Regression Data
constructor(response: DoubleArray, data: Array<DoubleArray>, hasIntercept: Boolean = true, responseName: String = "Y", predictorNames: List<String> = makePredictorNames(data))
Parameters
response Name
an optional name for the response variable. The default is Y
predictor Names
a list of names to associate with the predictors. The default is X_1, X_2,..., X_k