View source: R/helper-functions.R
prepareDataset | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.