cor: Correlation (generic)
Description
S3 generic for cor(). Dispatches to cor.HDF5Matrix
for HDF5Matrix objects, and to stats::cor() for all others.
Usage
cor(x, y = NULL, use = "everything", method = "pearson", ...)
Arguments
- x
A matrix or HDF5Matrix object.
- y
Optional second matrix.
- use
Character. Method for handling missing values.
- method
Character. Correlation method: "pearson" or "spearman".
- ...
Additional arguments passed to the method.