Learn R Programming

icosa (version 0.11.1)

faces: The face names of a trigrid or hexagrid object

Description

Shorthand function to get the face names of an icosahedral grid or a grid linked to a facelayer.

Usage

faces(x)

# S4 method for trigrid faces(x)

# S4 method for gridlayer faces(x)

Value

The names of the faces of the grid as a character vector.

Arguments

x

(trigrid, hexagrid or facelayer) The grid or facelayer object.

Examples

Run this code
ball <- hexagrid(2)
faces(ball)

Run the code above in your browser using DataLab