I have a data in R. I want to calculate correlation each value in column "NAME" and each value with INC:
DATA enter image description here
RESULTS I NEED enter image description here
I use this code cor() but the results don't like I think
round(cor(DATA_QD[-c(1,19)] ),
digits = 2 # rounded to 2 decimals)
please help me. Thank