lookup-methods: Lookup Values in an IndexLookupVol Object

lookup,IndexLookupVol,numeric-methodR Documentation

Lookup Values in an IndexLookupVol Object

Description

Performs a lookup operation on an IndexLookupVol object.

Usage

## S4 method for signature 'IndexLookupVol,numeric'
lookup(x, i)

## S4 method for signature 'AbstractSparseNeuroVec,numeric'
lookup(x, i)

Arguments

x

An IndexLookupVol object

i

A numeric vector of indices to look up

Value

A vector of lookup values corresponding to the input indices

Examples

## Not run: 
ilv <- IndexLookupVol(space, c(1:100))
lookup(ilv, c(1, 2, 3))  # Look up values for indices 1, 2, and 3

## End(Not run)


bbuchsbaum/neuroim2 documentation built on Jan. 2, 2025, 3:38 p.m.