Unlimited learning, half price | 50% off
Get 50% off unlimited learning

sf (version 0.3-1)

st_precision: Get precision

Description

Get precision

Set precision

Usage

st_precision(x)
st_set_precision(x, precision)
st_precision(x) <- value

Arguments

x
object of class sfc or sf
precision
numeric; see st_as_binary
value
precision value

Examples

Run this code
x <- st_sfc(st_point(c(pi, pi)))
st_precision(x)
st_precision(x) <- 0.01
st_precision(x)

Run the code above in your browser using DataLab