values-methods: Extract Data Values of an Object

valuesR Documentation

Extract Data Values of an Object

Description

Extract Data Values of an Object

Usage

values(x, ...)

## S4 method for signature 'DenseNeuroVol'
values(x)

## S4 method for signature 'SparseNeuroVol'
values(x)

## S4 method for signature 'ROIVol'
values(x, ...)

## S4 method for signature 'ROIVec'
values(x, ...)

Arguments

x

the object to get values from

...

additional arguments

Value

A vector or array containing the values extracted from x.

Examples

x <- NeuroSpace(c(10,10,10), c(1,1,1))
vol <- NeuroVol(rnorm(10 * 10 * 10), x)
values(vol)

bbuchsbaum/neuroim2 documentation built on Feb. 26, 2025, 3:49 p.m.