Correlation matrix for FBM class matrices (big matrices) {pchc} | R Documentation |
Correlation matrix for FBM class matrices (big matrices)
Description
Correlation matrix for FBM class matrices (big matrices).
Usage
big_cor(x)
Arguments
x |
An FBM class matrix. |
Details
The function accepts a Filebacked Big Matrix (FBM) class matrix and returns the correlation matrix. Check you matrix for possible NA values. For more information see the "bigmemory" and "bigstatsr" packages.
Value
The correlation matrix of the big data x.
Author(s)
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
See Also
big_read, fedhc.skel, mmhc.skel
Examples
require(bigstatsr, quietly = TRUE)
x <- matrix( runif(100 * 50, 1, 100), ncol = 50 )
x <- bigstatsr::as_FBM(x)
a <- pchc::big_cor(x)
[Package pchc version 1.2 Index]