Description Usage Arguments Details
View source: R/features_util.R
A function to generate irrelevant covariates, numerical or categorical
1 | add_irrelevant_covariates(df0, no_covariates, type, ...)
|
df0 |
dataframe; the data |
no_covariates |
integer; number of irrelevant covariates to be added |
type |
The type of the covariates; it must be 'numerical' or 'categorical'. |
... |
Optional parameters to be passed to "generate_independent_covariates". |
This function calls 'generate_independent_covariates'. See '?generate_independent_covariates' for details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.