powered by
deg2rad(deg)
data(vdendool) ## latitude in degrees degrees <- coordinates(vdendool)[, 2] head(degrees) ## latitude in radians radians <- deg2rad(coordinates(vdendool)[, 2]) head(radians)
Run the code above in your browser using DataLab