check_cor {regrrr} | R Documentation |
quickly check correlation matrix, or the correlation between a particular X and all other vars could be useful for looking for relevant instrument
Description
quickly check correlation matrix, or the correlation between a particular X and all other vars could be useful for looking for relevant instrument
Usage
check_cor(data, var_name_select = NULL, d = 3)
Arguments
data |
a data.frame used in regression model |
var_name_select |
to specify the variable names to be included in the table, default is NULL–all variables are included |
d |
number of digits retained after the decimal point |
Examples
data(mtcars)
check_cor(mtcars)
[Package regrrr version 0.1.3 Index]