Learn R Programming

AnalyzeFMRI (version 1.1-11)

magicfield: Get magicfield from the header of an image file

Description

Determine the type of a file : NIFIT .nii format, NIFTI .hdr/.img pair format, Analyze format.

Usage

magicfield(file)

Arguments

Value

  • A list containing the magic and dim fields.

Examples

Run this code
magicfield(system.file("example-nifti.hdr", package="AnalyzeFMRI"))

Run the code above in your browser using DataLab