Skip to contents

This method compares the data of a SparseNeuroVol object (e1) with a numeric value (e2) using a generic comparison function.

This method compares a numeric value (e1) with the data of a SparseNeuroVol object (e2) using a generic comparison function.

Usage

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

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

Arguments

e1

A numeric value to compare with the data of the SparseNeuroVol object.

e2

A SparseNeuroVol object containing the data to be compared.

Value

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

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