Learn R Programming

freesurferformats (version 0.1.18)

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

Description

Compute NIFTI dim field for data dimension.

Usage

nifti.datadim.to.dimfield(datadim)

Value

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

Arguments

datadim

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

See Also

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

Examples

Run this code
   nifti.datadim.to.dimfield(c(256, 256, 256));

Run the code above in your browser using DataLab