Learn R Programming

c14bazAAR (version 1.2.0)

coordinate_precision: Return coordinate precision according to number of digits in the columns lat and lon of a c14_date_list

Description

The precision of the coordinates for each date vary greatly. c14bazAAR::coordinate_precision() calculates the mean of the possible deviation in meters and adds it to the c14_date_list with the column coord_precision.

Usage

coordinate_precision(x)

# S3 method for default coordinate_precision(x)

# S3 method for c14_date_list coordinate_precision(x)

Arguments

x

an object of class c14_date_list

Value

an object of class c14_date_list with the additional column coord_precision

Examples

Run this code
# NOT RUN {
# calculate coordinate precision for all dates
ex <- coordinate_precision(example_c14_date_list)
ex[,c("lat", "lon", "coord_precision")]

# }

Run the code above in your browser using DataLab