A generic function for fast correlation testing. Dispatches methods based on
the class of the first argument. This is a trimmed-down version of the base R
cor.test function, optimized for speed in large-scale computations.
Value
A list containing the p-value and correlation estimate. The exact structure depends on the method used.
See also
cor.test for the full version with confidence intervals.
