Learn R Programming

AnalyzeFMRI (version 1.1-11)

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

Description

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

Usage

f.read.header(file)

Arguments

Value

  • A list containing the information in the fields of the .hdr 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
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