f.basic.hdr.list.create: creates basic .hdr list in ANALYZE format

View source: R/analyzeFMRI.R

f.basic.hdr.list.createR Documentation

creates basic .hdr list in ANALYZE format

Description

Creates a basic list that can be used to write a .hdr file

Usage

f.basic.hdr.list.create(X, file.hdr)

Arguments

X

Array that is to be converted to a .img file

file.hdr

Name of the .hdr file that will be created

Value

Returns a list of all the fields needed to create a .hdr file (see the functions code for details).

See Also

f.write.list.to.hdr, f.analyze.file.summary

Examples

a <- array(rnorm(20 * 30 * 40 * 3), dim = c(20, 30, 40, 3))
file <- "temp.hdr"
hdr.list <- f.basic.hdr.list.create(a, file)

AnalyzeFMRI documentation built on Aug. 8, 2025, 7:16 p.m.