Description Usage Arguments Examples
View source: R/random_rotation.R
Returns columns for X matrix and Y vector (and ignored cols) from the input, given set of in-/exclusions
1 | determine_relevant_columns(df, response, exclude = NULL, include = NULL)
|
df |
data frame |
response |
index (integer) or column name of class (response) |
exclude |
vector or list of indices (integer) and/or column names that should be excluded (default: NULL) |
include |
vector or list of indices (integer) and/or column names that should ONLY be included (default: NULL) |
1 2 3 | determine_relevant_columns(df, response="myY")
determine_relevant_columns(df, response="myY", exclude=c("col1", "col9"))
determine_relevant_columns(df, response=5, include=list(2,3,4, "col10"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.