add_irrelevant_covariates: A function to generate irrelevant covariates, numerical or...

Description Usage Arguments Details

View source: R/features_util.R

Description

A function to generate irrelevant covariates, numerical or categorical

Usage

1
add_irrelevant_covariates(df0, no_covariates, type, ...)

Arguments

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".

Details

This function calls 'generate_independent_covariates'. See '?generate_independent_covariates' for details.


kcf-jackson/glmSimData documentation built on May 20, 2019, 8:15 a.m.