get_coordinates_in_radian {aniSNA}R Documentation

To convert latitude and longitude values from degrees to radians

Description

To convert latitude and longitude values from degrees to radians

Usage

get_coordinates_in_radian(species_raw)

Arguments

species_raw

A DataFrame consisting of GPS observations. The DataFrame must have a "latitude" column and a "longitude" column whose values are specified in degrees.

Value

The same DataFrame that has been passed as the argument with two additional columns namely "latitude_rad" and "longitude_rad"


[Package aniSNA version 1.1.1 Index]