Learn R Programming

freesurferformats (version 1.1.0)

write.nifti1.header.internal: Write the 348 byte NIFTI v1 header (and the padding up to the data offset) to a connection.

Description

Write the 348 byte NIFTI v1 header (and the padding up to the data offset) to a connection.

Usage

write.nifti1.header.internal(fh, niiheader)

Value

invisible NULL, called for the side effect of writing to the connection.

Arguments

fh

connection to write to.

niiheader

named list, a valid NIFTI v1 header.