Assigns the `position` vector and `dimension`, with default dimension of length(position).

Check whether an object is of class `Position`.

# S4 method for Position
initialize(.Object, position)

is.position(x)

Arguments

.Object

the Position object.

position

The position vector.

x

An object.

Slots

position

A position vector.

dimension

An integer specifying the dimension, defaults to `length(position)`