nifti-operators | R Documentation |
Overloaded operators for nifti objects
## S4 method for signature 'nifti,nifti'
Ops(e1, e2)
## S4 method for signature 'nifti,numeric'
Ops(e1, e2)
## S4 method for signature 'numeric,nifti'
Ops(e1, e2)
e1 |
is an object of class |
e2 |
is an object of class |
John Muschelli muschellij2@gmail.com
img01 <- nifti(array(1:64, c(4,4,4,1)), datatype=4)
img02 <- nifti(array(64:1, c(4,4,4,1)), datatype=4)
is.nifti(img01 + img02)
is.nifti(sqrt(2) * img01)
is.nifti(img02 / pi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.