vim_corr | R Documentation |
Examine variables most correlated with the outcome. Currently assumes that outcome is binary variable.
vim_corr(
covariates,
data,
outcome,
weights = rep(1, nrow(data)),
bootse = TRUE,
verbose = FALSE
)
covariates |
Character vector listing the covariates to analyze. |
data |
Dataframe of covariates and outcome. |
outcome |
Outcome variable, assumed binary. |
weights |
Optional observation weight vector. |
bootse |
Whether bootstrap standard errors should be used for inference. |
verbose |
If TRUE display extra information. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.