Learn R Programming

icosa (version 0.11.1)

vertices: The vertices of an icosahedral grid object

Description

Shorthand function to return the vertices slot of an icosahedral grid or a grid linked to a facelayer.

Usage

vertices(x, ...)

# S4 method for trigrid vertices(x, output = "polar")

# S4 method for facelayer vertices(x, output = "polar")

Arguments

x

(trigrid, hexagrid or facelayer) The icosahedral grid, or linked data object.

...

Additional arguments passed to class-specific methods.

output

(character) The coordinate system of output.

Examples

Run this code
a <- trigrid(1)
vertices(a)

Run the code above in your browser using DataLab