nifti.datadim.to.dimfield: Compute NIFTI dim field for data dimension.

Description Usage Arguments Value See Also Examples

View source: R/nifti_common.R

Description

Compute NIFTI dim field for data dimension.

Usage

1

Arguments

datadim

integer vector, the result of calling 'dim' on your data. The length must be <= 7.

Value

NIFTI header 'dim' field, an integer vector of length 8

See Also

Other NIFTI helper functions: nifti.datadim.from.dimfield()

Examples

1
   nifti.datadim.to.dimfield(c(256, 256, 256));

freesurferformats documentation built on Feb. 11, 2022, 5:06 p.m.