f.write.nii.array.to.img.2bytes | 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,path.out=NULL)
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) |
Nothing is returned
f.write.nifti
f.write.nii.array.to.img.float
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.