Learn R Programming

neuroim2 (version 0.8.5)

values: Extract Data Values of an Object

Description

Extract Data Values of an Object

Usage

values(x, ...)

# S4 method for ClusteredNeuroVec values(x)

# S4 method for DenseNeuroVol values(x)

# S4 method for SparseNeuroVol values(x)

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

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

Value

A vector or array containing the values extracted from x.

Arguments

x

the object to get values from

...

additional arguments

Examples

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

Run the code above in your browser using DataLab