6.5 - Two Numeric Variables: Correlation
6.5 - Two Numeric Variables: CorrelationNow we'll introduce the function cor()
for correlations, and show how to derive both Pearson and Spearman correlations, and how to specify how missing values should be treated.