Skip to contents

Constructor for the coordinate-class

Usage

# S4 method for class 'coordinate'
initialize(.Object, ...)

Arguments

.Object

Numerical vector of size 2 denoting the coordinate.

...

Additional arguments specified in the other objects.

Value

Object of the coordinate-class

Examples

# Initialize a coordinate
my_coordinate <- coordinate(c(1, 1))

# Access the numeric vector again
my_coordinate@.Data
#> [1] 1 1