Writes out NIfTI files for multiple formats. Currently,
for nifti objects and niftiImage objects from RNifti
write_nifti(nim, filename, ...)Container for NIfTI Image
Filename of image to be written out
additional arguments, to be passed to writeNifti or
writenii
Output from NIfTI writer