getUnivariableCorrelation {Cyclops} | R Documentation |
getUnivariableCorrelation
reports covariates that have high correlation with the outcome
getUnivariableCorrelation(cyclopsData, covariates = NULL, threshold = 0)
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 |
A list of covariates whose absolute correlation with the outcome is greater than or equal to the threshold