A data matrix with some missing values(NaN).
Write R code in order to compute an "approximate" correlation matrix from this data using pairwise deletion method. "Approximate" means, that the correlation matrix which will be generated should have 1 in diagonal but should not be positive semidefinite(So it must have some negative eigenvalues).
Attachment:- data.rar