prepareDataset {less} | R Documentation |
Takes X and y datasets and merges them into a dataframe with column names (y, X_1, X_2 ...)
prepareDataset(X, y)
X |
Independent variables |
y |
Response variables |
A named dataframe which consists of X and y combined
X <- matrix(1:20, nrow = 4)
y <- c(5:8)
prepareDataset(X, y)