parallelDist
parallelDist copied to clipboard
Any planned support for sparse matrices?
Currently, in my experience, the input 'x' has to be a dense matrix. It would be great if you can provide support for sparse matrices, specially ones from the 'Matrix' package. Here's what I currently get from R 3.5.0, and parallelDist 0.2.1.
require(parallelDist) require(Matrix) x = sample(0:1, 10000, replace = T) m = Matrix(x, ncol = 100, sparse = T) d = parallelDist(m, method = "binary") Error in parallelDist(m, method = "binary") : x must be a matrix or a list of matrices.
Hi @mobadawy-sp,
thanks for your suggestion, it's a good idea to also support sparse matrices. Will have a look at it when I have some time.
Hope to see the feature soon.