coerce-methods: Force an Object to Belong to the NIfTI Class
Description
Methods for function coerce in Package methods.
Usage
## S3 method for class 'array,nifti':
as(object, Class)
## S3 method for class 'array,nifti':
as(object, Class) <- value
Arguments
object
is an object of class array or inherits from
array.
Class
is the name of the class to which object should
be coerced; i.e., nifti.
value
is the values used to modify object (see the
discussion below). You should supply an object with class
nifti in order to pass NIfTI header information.