f.write.nii.array.to.img.2bytes {AnalyzeFMRI} | R Documentation |
Writes an array to a .img file of 2 byte integers and add at the begining of the file the NIFTI header part
f.write.nii.array.to.img.2bytes(mat,L,file)
mat |
An array |
L |
A list containing the header information |
file |
The name of the file to be written, preferably with .img suffix |
Nothing is returned
f.write.nifti
f.write.nii.array.to.img.float