Learn R Programming

neurobase (version 1.32.4)

newnii: Resets image parameters for a copied nifti object

Description

Resets the slots of a nifti object, usually because an image was loaded, then copied and filled in with new data instead of making a nifti object from scratch. Just a wrapper for smaller functions

Usage

newnii(img, ...)

Value

object of type nifti

Arguments

img

nifti object (or character of filename)

...

arguments to be passed to datatype