Learn R Programming

icosa (version 0.11.1)

orientation: Extracting and setting the grid orientation

Description

Extracting and setting the grid orientation

Usage

orientation(x, ...)

# S4 method for trigrid orientation(x, display = "deg", ...)

orientation(x) <- value

# S4 method for trigrid orientation(x) <- value

Value

In case the function returns does, it returns the orientation angles of the grid (as numeric).

Arguments

x

(trigrid or hexagrid): Input grid.

...

Values passed on to the rotate function.

display

(character) The output unit. In case it is set to "deg" the output will be in degrees, in case it is "rad", then radians.

value

(numeric) The vector of rotation. Passed as the angles argument of rotate.