loc.map {fossil}R Documentation

Mapping Points on a Global Map

Description

A function to plot any number of points given their latitude and longitude respectively on a map of the world.

Usage

loc.map(x, ...)

Arguments

x

a table with a longitude and latitude column respectively with optional associated attributes

...

arguments to be passed to the plot call

Details

This is a helper function, which automatically zooms in and centers the map view on the input points. The ... allow the user to adjust the usual parameters for a scatterplot outlined by par.

Value

Plots a map of the world focused on the locations provided.

Author(s)

Matthew Vavrek

See Also

msn.map

Examples

#plotting the fdata sample set
data(fdata.lats)
loc.map(fdata.lats)


[Package fossil version 0.4.0 Index]