get_top_corrs(dat, response_var, parallel = FALSE)dat that you would like the correlations to be computed with,
or an integer specifying the position of this variableTRUE, parallel
foreach is used for computing correlations
(if FALSE, single threaded foreach is used; still highly efficient).
Default is FALSE.var_name gives the name of each
variable and correlation gives its correlation with
response_var.
proc_freq
x <- iris
get_top_corrs(x,"Petal.Length")
Run the code above in your browser using DataLab