Which one is true about correlation function in R? code example Example: calculate correlation in r cor(x, method = "pearson", use = "complete.obs")