powered by
Determine the type of a file : NIFTI .nii format, NIFTI .hdr/.img pair format, ANALYZE format.
magicfield(file, verbose = TRUE)
A list containing the magic and dim fields.
character, filename of an image (or header) file
verbose logical to display information in the console
verbose
magicfield(system.file("example-nifti.hdr", package="AnalyzeFMRI"))
Run the code above in your browser using DataLab