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

Description Usage Arguments Value See Also Examples

View source: R/analyzeFMRI.R

Description

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

Usage

1

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

1
2
3
4
5
6
## Not run: 
a <- array(rnorm(20 * 30 * 40 * 3), dim = c(20, 30, 40, 3))
file <- "temp.hdr"
f.basic.hdr.list.create(a, file)

## End(Not run)

AnalyzeFMRI documentation built on Oct. 5, 2021, 5:06 p.m.