mesh_class: Regional mesh vector

Description Usage Arguments Value Examples

Description

A series of functions return mesh class for each mesh size. mesh_auto returns automatically determine mesh size by the largest mesh size.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
mesh_80km(x, strict = TRUE)

mesh_10km(x, strict = TRUE)

mesh_1km(x, strict = TRUE)

mesh_500m(x, strict = TRUE)

mesh_250m(x, strict = TRUE)

mesh_125m(x, strict = TRUE)

mesh_100m(x, strict = TRUE)

mesh_auto(x, strict = TRUE)

is_mesh(x)

Arguments

x

A list or vector.

strict

A logical scalar. Should the number of digits in the mesh code match a given number of digits?

Value

A mesh class vector.

Examples

1
2
3
4
5
mesh_80km("53394526313")
mesh_80km("53394526313", strict = FALSE)

mesh_auto(c("53394526313", "5339358633", "533945764"))
mesh_auto(c("53394526313", "5339358633", "533945764"), strict = FALSE)

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