anlz-nifti-ops: Operations for Objects in the ANALYZE and NIfTI classes

anlz-nifti-opsR Documentation

Operations for Objects in the ANALYZE and NIfTI classes

Description

Overloaded operators for anlz and nifti objects

Usage

## S4 method for signature 'anlz,anlz'
Ops(e1, e2)

## S4 method for signature 'anlz,numeric'
Ops(e1, e2)

## S4 method for signature 'numeric,anlz'
Ops(e1, e2)

## S4 method for signature 'nifti,anlz'
Ops(e1, e2)

## S4 method for signature 'anlz,nifti'
Ops(e1, e2)

Arguments

e1

object

e2

object

Author(s)

John Muschelli muschellij2@gmail.com

Examples


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)


muschellij2/oro.nifti documentation built on Nov. 28, 2023, 5:36 a.m.