newSparseArrayWithData {tractor.base} | R Documentation |
Create a SparseArray object
Description
This function creates a SparseArray
object from its
constituent parts.
Usage
newSparseArrayWithData(data, coordinates, dims)
Arguments
data |
A vector of (nonzero) array elements. |
coordinates |
A matrix with as many rows as |
dims |
The dimensions of the array. |
Value
A SparseArray
object.
Author(s)
Jon Clayden
References
Please cite the following reference when using TractoR in your work:
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. doi:10.18637/jss.v044.i08.
[Package tractor.base version 3.4.2 Index]