AxisSet5D-class: AxisSet5D Class

AxisSet5D-classR Documentation

AxisSet5D Class

Description

A class representing a five-dimensional axis set, extending the AxisSet4D class with an additional fifth axis.

Slots

m

A NamedAxis object representing the fifth axis.

See Also

AxisSet4D-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)
t_axis <- new("NamedAxis", axis = "t", direction = 1)
v_axis <- new("NamedAxis", axis = "v", direction = 1)

# Create an AxisSet5D object
axis_set_5d <- new("AxisSet5D", i = x_axis, j = y_axis, k = z_axis,
                   l = t_axis, m = v_axis, ndim = 5L)


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