meshcode: Vector of meshcode

Description Usage Arguments Value Examples

View source: R/meshcode.R

Description

Vector of meshcode

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
meshcode_vector(x = character(), size = double(), .type = "standard")

meshcode(x, .type = "standard")

as_meshcode(x, ...)

## S3 method for class 'meshcode'
format(x, ...)

## S3 method for class 'subdiv_meshcode'
format(x, ...)

Arguments

x

input meshcode value

size

input meshcode size. Default set to NULL. The decision is automatically made based on the meshsize.

.type

Specify the subdivision if you want to get a 100m mesh.

...

path to another function

Value

meshcode

Examples

1
2
3
4
meshcode("6441")
meshcode(c("6441", "6442"))
meshcode(c("6441", "644143"))
meshcode("6441431552", .type = "subdivision")

Example output

<meshcode[1]>
[1] 6441
<meshcode[2]>
[1] 6441 6442
<meshcode[2]>
[1]   6441 644143
<subdiv_meshcode[1]>
[1] 6441431552

jpmesh documentation built on Jan. 10, 2022, 9:07 a.m.