f.basic.hdr.nifti.list.create: creates basic .hdr list in NIFTI format

Description Usage Arguments Value See Also Examples

View source: R/niftiFMRI.R

Description

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

Usage

1

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

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

## End(Not run)

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