powered by
Overloaded operators for anlz and nifti objects
# S4 method for anlz,anlz Ops(e1, e2)# S4 method for anlz,numeric Ops(e1, e2)# S4 method for numeric,anlz Ops(e1, e2)# S4 method for nifti,anlz Ops(e1, e2)# S4 method for anlz,nifti Ops(e1, e2)
# S4 method for anlz,numeric Ops(e1, e2)
# S4 method for numeric,anlz Ops(e1, e2)
# S4 method for nifti,anlz Ops(e1, e2)
# S4 method for anlz,nifti Ops(e1, e2)
object
John Muschelli muschellij2@gmail.com
img01 <- anlz(array(1:64, c(4,4,4,1)), datatype=4) img02 <- anlz(array(64:1, c(4,4,4,1)), datatype=4) is.anlz(img01 + img02) is.anlz(sqrt(2) * img01) is.anlz(img02 / pi)
Run the code above in your browser using DataLab