Writes an array to a .img file of 4 byte floats and add at the begining of the file the NIFTI header part
f.write.nii.array.to.img.float(mat,L,file,path.out=NULL)
Nothing is returned
An array
A list containing the header information
The name of the file to be written, preferably with .img suffix
The path where to write the file (mandatory argument, even if the default value is NULL for backward compatibility)
f.write.nifti
,
f.write.nii.array.to.img.2bytes
,
f.write.nii.array.to.img.8bit