Learn R Programming

biogeo (version 1.0)

finddecimals: Find coordinates that are in decimal degrees

Description

Finds indices for coordinates that are in decimal degrees in a dataframe

Usage

finddecimals(dat, x = "x", y = "y")

Arguments

dat
A dataframe containing latitude and longitude coordinates in separate columns
x
the name of the column containing the x-coordinate (longitude)
y
the name of the column containing the y-coordinate (latitude)

Value

See Also

dmsparse

Examples

Run this code
finddecimals(places,x='long',y='lat')

Run the code above in your browser using DataLab