get_long_center | R Documentation |
get the longitude center of a given vector or column of longitude values
get_long_center(x)
x |
is a vector or column of longitude values |
A single numeric value that is the center (average) of x
## Not run: my_longitudes <- sample(-180:180, 100, replace = TRUE) get_long_center(my_longitudes) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.