Companion

object Companion

Functions

Link copied to clipboard
fun create(df: AnyFrame, responseName: String, predictorNames: List<String>, hasIntercept: Boolean = true): RegressionData

Create the regression data from a data frame. The data frame must have a column with the response name responseName and columns with the names in the list predictorNames. The data type of these columns must be Double. hasIntercept indicates if the regression should include an intercept term. The default is true. The data in the data frame does not need to have a column for estimating the intercept.

Link copied to clipboard