Learn R Programming

regrrr (version 0.1.3)

check_cor: 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

Run this code
# NOT RUN {
data(mtcars)
check_cor(mtcars)

# }

Run the code above in your browser using DataLab