Change precision of an sf object

setPrecisionToSF(x, digits)

Arguments

x

An sf object.

digits

The number of digits of the output.