nifti_2_hdr: Read NIfTI-2 Header

View source: R/nifti_2_hdr.R

nifti_2_hdrR Documentation

Read NIfTI-2 Header

Description

Reads a NIfTI-2 header from a filename

Usage

nifti_2_hdr(fname, verbose = FALSE, warn = -1)

Arguments

fname

Filename

verbose

Print diagnostic messages

warn

Should warnings be printed? Passed to options

Value

Object of class nifti

Note

The unused_str part of the header is not returned, but is an empty string of 15 characters. This code was adapted by the oro.nifti package


cifti documentation built on Jan. 14, 2026, 1:07 a.m.