AxisSet3D-class {neuroim2} | R Documentation |
AxisSet3D Class
Description
A class representing a three-dimensional axis set, extending the AxisSet2D class with an additional third axis.
Slots
k
A
NamedAxis
object representing the third axis.
See Also
AxisSet2D-class
, NamedAxis-class
Examples
# Create NamedAxis objects for each dimension
x_axis <- new("NamedAxis", axis = "x", direction = 1)
y_axis <- new("NamedAxis", axis = "y", direction = 1)
z_axis <- new("NamedAxis", axis = "z", direction = 1)
# Create an AxisSet3D object
axis_set_3d <- new("AxisSet3D", i = x_axis, j = y_axis, k = z_axis, ndim = 3L)
[Package neuroim2 version 0.8.1 Index]