getUnivariableCorrelation: Get univariable correlation

Description Usage Arguments Value

View source: R/DataManagement.R

Description

getUnivariableCorrelation reports covariates that have high correlation with the outcome

Usage

1
getUnivariableCorrelation(cyclopsData, covariates = NULL, threshold = 0)

Arguments

cyclopsData

A Cyclops data object

covariates

Integer or string vector: list of covariates to report; default (NULL) implies all covariates

threshold

Correlation threshold for reporting

Value

A list of covariates whose absolute correlation with the outcome is greater than or equal to the threshold


Cyclops documentation built on Aug. 24, 2017, 1:02 a.m.