powered by
Takes X and y datasets and merges them into a dataframe with column names (y, X_1, X_2 ...)
prepareDataset(X, y)
A named dataframe which consists of X and y combined
Independent variables
Response variables
X <- matrix(1:20, nrow = 4) y <- c(5:8) prepareDataset(X, y)
Run the code above in your browser using DataLab