get_factor_vars: Get factor/numeric variables in a 'data.frame'

Description Usage Arguments

View source: R/func.R

Description

Gets a character vector with all the factor/numeric variables in the specified data.frame df.

Usage

1
2
3
get_factor_vars(df, target_var, ignore_vars = c())

get_numeric_vars(df, target_var, ignore_vars = c())

Arguments

df

The input data.frame

target_var

A string with the name of the target variable

ignore_vars

A character vector with the variables to ignore


theunis/eda documentation built on Nov. 5, 2019, 10:05 a.m.