f.read.header {AnalyzeFMRI}R Documentation

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

file The .hdr file to be read

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

f.read.header(system.file("example.hdr", package="AnalyzeFMRI"))
f.read.header(system.file("example-nifti.hdr", package="AnalyzeFMRI"))

[Package AnalyzeFMRI version 1.1-11 Index]