Compute, Test and Report Pearson Correlation in R
An official-documentation-based R workflow record covering cor(), cor.test(), missing-value handling, the Pearson test statistic, confidence intervals, and the distinction between computing a coefficient and testing an association.