XY: Conversion between mesh and coordinates (longitude and...

Description Usage Arguments Value

Description

Conversion between mesh and coordinates (longitude and latitude)

Usage

1
2
3
XY_to_mesh(X, Y, size)

mesh_to_XY(mesh, center = TRUE)

Arguments

X

A numeric vector of longitude.

Y

A numeric vector of latitude.

size

A mesh size.

mesh

A mesh class vector.

center

Should the center point of the mesh be returned? Otherwise the end points will be returned. TRUE by default.

Value

XY_to_mesh returns a mesh class vector.

mesh_to_XY returns a tbl_df.


japanmesh documentation built on Dec. 11, 2021, 9:36 a.m.