Learn R Programming

globe (version 1.2-0)

place:

Description

This function gives the locations of selected places on Earth.

Usage

place(placename)

Arguments

placename
Character string giving the name of a place.

Value

A list(lon,lat) giving the longitude and latitude in degrees.

Details

aarhus and aalborg are cities in Denmark; madrid is the capital of Spain; perth is the capital of Western Australia; curtin is the location of Curtin University, Western Australia; titanic is the location of the wreck of the Titanic; casey and mawson are bases in the Australian Antarctic Territory; newyorkcity, pyongyang, everest, kilimanjaro, northpole and southpole are self explanatory.

Examples

Run this code
place("aarhus")

Run the code above in your browser using DataLab