dim.internalImage {RNifti}R Documentation

Internal images

Description

An internal image is a simple R object with a few attributes including a pointer to an internal C structure, which contains the full image data. They are used in the package for efficiency, but can be converted to a normal R array using the as.array method. Attributes of these objects should not be changed.

Usage

## S3 method for class 'internalImage'
dim(x)

## S3 replacement method for class 'internalImage'
dim(x) <- value

## S3 method for class 'internalImage'
as.array(x, ...)

Arguments

x

An "internalImage" object.

value

Not used. Changing the dimensions of an internal image is invalid, and will produce an error.

...

Additional parameters to methods. Currently unused.

Author(s)

Jon Clayden <code@clayden.org>


[Package RNifti version 0.7.0 Index]