| updateNifti {RNifti} | R Documentation |
This function adds or updates the internal NIfTI-1 object for an array,
using metadata from the template. The dimensions and, if available, pixel
dimensions, from the image will replace those from the template.
updateNifti(image, template = NULL)
image |
A numeric array. |
template |
An image, in any acceptable form (see
|
A copy of the original image, with its internal image
attribute set or updated appropriately.
Jon Clayden <code@clayden.org>