Learn R Programming

AnalyzeFMRI (version 1.1-25)

f.write.nii.array.to.img.2bytes: write array of 2 byte integers and add at the begining of the file the NIFTI header part

Description

Writes an array to a .img file of 2 byte integers and add at the begining of the file the NIFTI header part

Usage

f.write.nii.array.to.img.2bytes(mat,L,file,path.out=NULL)

Value

Nothing is returned

Arguments

mat

An array

L

A list containing the header information

file

The name of the file to be written, preferably with .img suffix

path.out

The path where to write the file (mandatory argument, even if the default value is NULL for backward compatibility)

See Also

f.write.nifti f.write.nii.array.to.img.float