Develop a r program to calculate and visualize a correlation matrix for a given data set, with color coded cells indicating the strength and direction of correlations, using ggplot2 geom_tile function.
library(ggplot2)library(tidyr)library(dplyr)
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union