Learn R Programming

neuroim2 (version 0.8.5)

Compare-methods: Comparison Operations

Description

Methods for comparing neuroimaging objects

This method compares two NeuroVec objects (e1 and e2) using a generic comparison function. The dimensions of both objects are checked for compatibility before performing the comparison.

Usage

# S4 method for SparseNeuroVol,numeric
Compare(e1, e2)

# S4 method for numeric,SparseNeuroVol Compare(e1, e2)

# S4 method for NeuroVec,NeuroVec Compare(e1, e2)

Value

The result of the comparison between the SparseNeuroVol object's data and the numeric value.

The result of the comparison between e1 and e2.

Arguments

e1

A NeuroVec object to be compared.

e2

A NeuroVec object to be compared.