loc.map: Mapping Points on a Global Map

Description Usage Arguments Details Value Author(s) See Also Examples

Description

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

Usage

1

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

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

fossil documentation built on March 23, 2020, 5:06 p.m.