vim_corr: Correlation analysis

Description Usage Arguments

View source: R/vim_corr.R

Description

Examine variables most correlated with the outcome. Currently assumes that outcome is binary variable.

Usage

1
2
3
4
5
6
7
8
vim_corr(
  covariates,
  data,
  outcome,
  weights = rep(1, nrow(data)),
  bootse = TRUE,
  verbose = FALSE
)

Arguments

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.


ck37r documentation built on Feb. 6, 2020, 5:09 p.m.

Related to vim_corr in ck37r...