SparseArray
object from its constituent parts.newSparseArrayWithData(data, coordinates, dims)
data
has elements, containing the coordinates of each nonzero element in the array.SparseArray
object.J.D. Clayden, S. Muñoz Maniega, A.J. Storkey, M.D. King, M.E. Bastin & C.A. Clark (2011). TractoR: Magnetic resonance imaging and tractography with R. Journal of Statistical Software 44(8):1-18.