length-methods: Get length of NeuroVec object

length,NeuroVec-methodR Documentation

Get length of NeuroVec object

Description

Returns the number of time points (4th dimension) in a NeuroVec object. This represents the temporal dimension of the neuroimaging data.

Returns the total number of time points across all vectors in the sequence

Usage

## S4 method for signature 'NeuroVec'
length(x)

## S4 method for signature 'NeuroVecSeq'
length(x)

## S4 method for signature 'ROIVol'
length(x)

## S4 method for signature 'ROICoords'
length(x)

## S4 method for signature 'ROIVol'
length(x)

## S4 method for signature 'ROICoords'
length(x)

## S4 method for signature 'ROIVol'
length(x)

Arguments

x

A NeuroVecSeq object

Value

Integer length (total number of time points)

An integer representing the number of coordinates in the ROICoords object.


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