Learn R Programming

AnalyzeFMRI (version 1.1-24)

f.read.header: read ANALYZE or NIFTI header file

Description

Reads the ANALYZE or NIFTI image format .hdr (or .nii) header file into a list. The format type is determined by first reading the magic field.

Usage

f.read.header(file)

Arguments

file

The .hdr file to be read

Value

A list containing the information in the fields of the .hdr (.nii) file. See f.read.analyze.header of f.read.nifti.header to have the list of values.

See Also

f.read.analyze.header f.read.nifti.header

Examples

Run this code
# NOT RUN {
f.read.header(system.file("example.hdr", package="AnalyzeFMRI"))
f.read.header(system.file("example-nifti.hdr", package="AnalyzeFMRI"))
# }

Run the code above in your browser using DataLab