powered by
Methods for the Summary group generic (e.g., sum, min, max, range, prod, any, all) applied to neuroimaging data objects.
Summary
sum
min
max
range
prod
any
all
# S4 method for SparseNeuroVec Summary(x, ..., na.rm = FALSE)# S4 method for SparseNeuroVol Summary(x, ..., na.rm = FALSE)# S4 method for DenseNeuroVol Summary(x, ..., na.rm = FALSE)# S4 method for DenseNeuroVol Summary(x, ..., na.rm = FALSE)
# S4 method for SparseNeuroVol Summary(x, ..., na.rm = FALSE)
# S4 method for DenseNeuroVol Summary(x, ..., na.rm = FALSE)
The result of the summary operation
A neuroimaging object (SparseNeuroVec, SparseNeuroVol, or DenseNeuroVol)
Additional arguments passed to methods
Logical indicating whether to remove NA values before computation
# Create a simple volume vol <- DenseNeuroVol(array(1:27, c(3,3,3)), NeuroSpace(c(3L,3L,3L), c(1,1,1))) sum(vol) range(vol)
Run the code above in your browser using DataLab