ngrResolution: Change the resolution of a British National Grid Reference.

Description Usage Arguments Value Examples

View source: R/convertformats.R

Description

Increase of decrease the resolution of a British National Grid Reference.

Usage

1
ngrResolution(x, figures)

Arguments

x

A character string with a British National Grid Reference

figures

The desired precision (an even whole number)

Value

A character string with a new British National Grid Reference

Examples

1
2
3
4
x <- "SJ456782"
ngrResolution(x,4)
ngrResolution(x,8)
ngrResolution(x,7)

ahb108/sparch documentation built on Feb. 3, 2021, 1:21 a.m.