magicfield {AnalyzeFMRI} | R Documentation |
Determine the type of a file : NIFIT .nii format, NIFTI .hdr/.img pair format, Analyze format.
magicfield(file)
file |
character, filename of an image (or header) file |
A list containing the magic and dim fields.
magicfield(system.file("example-nifti.hdr", package="AnalyzeFMRI"))