# NOT RUN {
data("starwars", package = "dplyr")
# correlations in numeric columns
inspect_cor(starwars)
# only show correlations with 'mass' column
inspect_cor(starwars, with_col = "mass")
# compare correlations with a different data frame
inspect_cor(starwars, starwars[1:10, ])
# }
Run the code above in your browser using DataLab