Compute NIFTI dim field for data dimension.
See also
Other NIFTI helper functions:
nifti.datadim.from.dimfield()
Examples
nifti.datadim.to.dimfield(c(256, 256, 256))
#> [1] 3 256 256 256 1 1 1 1
Compute NIFTI dim field for data dimension.
Other NIFTI helper functions:
nifti.datadim.from.dimfield()
nifti.datadim.to.dimfield(c(256, 256, 256))
#> [1] 3 256 256 256 1 1 1 1