nifti_2_hdr {cifti}R 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


[Package cifti version 0.4.5 Index]