twoDto4D: twoDto4D

Description Usage Arguments Value See Also Examples

View source: R/niftiFMRI.R

Description

This function transform a 2D matrix of size tm x vm containing images in each row into a 4D array image.

Usage

1
twoDto4D(x.2d, dim)

Arguments

x.2d

a 2D matrix to be transformed

dim

vector of length 4 containing the dimensions of the array. dim[1:3] are the space dimensions. dim[4] is the time dimension

Value

volume.4d

a 4D array image

See Also

threeDto4D fourDto2D

Examples

1
# TODO !!

AnalyzeFMRI documentation built on Oct. 5, 2021, 5:06 p.m.