Learn R Programming

bioRad (version 0.9.1)

wgs_to_proj: A wrapper for sp::spTransform(). Converts geographic (WGS84) coordinates to a specified projection

Description

A wrapper for sp::spTransform(). Converts geographic (WGS84) coordinates to a specified projection

Usage

wgs_to_proj(lon, lat, proj4string)

Value

An object of class SpatialPoints.

Arguments

lon

Longitude

lat

Latitude

proj4string

An object of class 'CRS', as defined in package sp.