arrMat: Array to matrix transformation.

Description Usage Arguments Value Examples

Description

This function creates a 2D matrix from a 4D/3D image array.

Usage

1
arrMat(input)

Arguments

input

input must be a 4d or 3d array

Value

returns a matrix(time x No. of voxels)

Examples

1
2
3
arr<-array(dim=c(64,64,30,10)) ## 4D array
mat<-arrMat(arr)
dim(mat)

FIACH documentation built on May 1, 2019, 8:02 p.m.

Related to arrMat in FIACH...