Correlation matrix for FBM class matrices (big matrices)
Correlation matrix for FBM class matrices (big matrices).
big_cor(x)
x |
An FBM class matrix. |
The function accepts an 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.
The correlation matrix of the big data x.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
## Not run: dataset <- matrix( runif(100 * 50, 1, 100), ncol = 50 ) write.csv(dataset, "dataset.csv", row.names = FALSE) x <- pchc::big_read("dataset.csv", header = TRUE) a <- pchc::big_cor(x) ## No NA values write.csv(dataset, "dataset.csv") x <- pchc::big_read("dataset.csv", header = TRUE) a <- pchc::big_cor(x) ## it contains NA values ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.