f.basic.hdr.nifti.list.create {AnalyzeFMRI}R Documentation

creates basic .hdr list in NIFTI format

Description

Creates a basic list that can be used to write a .hdr file or the header part of a .nii file

Usage

f.basic.hdr.nifti.list.create(dim.mat, file)

Arguments

dim.mat

dim.mat vector of the dimensions of the image array associated with the header file to be written

file

file Name of the .hdr file that will be contained in the file field of the header

Value

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

See Also

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

Examples

## Not run: 
dim.mat <- c(20,30,40,3)
file<-"temp.hdr"
f.basic.hdr.nifti.list.create(dim.mat, file)

## End(Not run)

[Package AnalyzeFMRI version 1.1-23 Index]