as.sparse,DenseNeuroVec,LogicalNeuroVol-method | R Documentation |
This method converts a DenseNeuroVec object to a sparse representation using a given LogicalNeuroVol mask.
This method converts a DenseNeuroVec object to a sparse representation using a given numeric mask.
This method converts a DenseNeuroVec object to a sparse representation using a given LogicalNeuroVol mask.
This method converts a DenseNeuroVec object to a sparse representation using a given numeric mask.
## S4 method for signature 'DenseNeuroVec,LogicalNeuroVol'
as.sparse(x, mask)
## S4 method for signature 'DenseNeuroVec,numeric'
as.sparse(x, mask)
## S4 method for signature 'DenseNeuroVec,LogicalNeuroVol'
as.sparse(x, mask)
## S4 method for signature 'DenseNeuroVec,numeric'
as.sparse(x, mask)
## S4 method for signature 'DenseNeuroVol,LogicalNeuroVol'
as.sparse(x, mask)
## S4 method for signature 'DenseNeuroVol,numeric'
as.sparse(x, mask)
x |
A DenseNeuroVec object to convert to a sparse representation. |
mask |
A numeric vector representing the mask to apply during conversion. |
A SparseNeuroVec object resulting from the conversion.
A SparseNeuroVec object resulting from the conversion.
A SparseNeuroVec object resulting from the conversion.
A SparseNeuroVec object resulting from the conversion.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.