Make new nifti object by passing in old nifti and array

niftiarr(img, arr)

Arguments

img

object of class nifti

arr

array to be passed in to .Data slot

Value

object of class nifti