AxisSet3D-class: AxisSet3D Class

AxisSet3D-classR 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)


bbuchsbaum/neuroim2 documentation built on Jan. 2, 2025, 3:38 p.m.