numeric.id: Get Numeric Variables (for scaling)

Description Usage Arguments Value Examples

View source: R/load-data.R View source: R/load-data copy.R

Description

Numeric Values will likely need to be scaled for survival analysis. This function identifies which variables are numeric, separating them from categorical factor variables. used in get.visit() and add.data()

Usage

1

Arguments

data

Tibble of data containing variables to be considered

vars

Vector of all variables to be considered

Value

Vector containing column names of numeric variables

Examples

1
2
3
4
5
6
## Not run: 
new.vars <- readr::read_csv('data/visit-five/echovars.csv')[[1]]
the.data <- haven::read_dta('data/ARICmaster_121820.dta')
num.vars <- numeric.id(vars = new.vars, data = the.data)

## End(Not run)

pranavdorbala/proteomicsHF documentation built on March 9, 2021, 12:22 a.m.