| as.vector,SparseNeuroVol-method | R Documentation |
Supplies an 'as.vector' S4 method that flattens sparse volumes to a dense vector, keeping the same voxel ordering as 'as.array'.
## S4 method for signature 'SparseNeuroVol'
as.vector(x, mode = "any")
x |
A 'SparseNeuroVol' instance. |
mode |
Optional coercion mode (see [base::as.vector]). |
A vector of length 'prod(dim(x))'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.