Description Usage Arguments Value Examples
View source: R/load-data.R View source: R/load-data copy.R
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()
1 | numeric.id(data, vars)
|
data |
Tibble of data containing variables to be considered |
vars |
Vector of all variables to be considered |
Vector containing column names of numeric variables
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.