Learn R Programming

animaltracker (version 0.2.0)

deg_to_dec: Helper function for cleaning Columbus P-1 datasets. Given lat or long coords in degrees and a direction, convert to decimal.

Description

Helper function for cleaning Columbus P-1 datasets. Given lat or long coords in degrees and a direction, convert to decimal.

Usage

deg_to_dec(x, direction)

Arguments

x

lat or long coords in degrees

direction

direction of lat/long

Value

converted x