create.lats {fossil}R Documentation

Creating a table of Latitudes and Longitudes

Description

Create a matrix of locations with a column of latitudes and longitudes

Usage

  create.lats(x, loc="location", lat="latitude", long="longitude")

Arguments

x a table arranged in columnar format, with one column indicating the locations, another the latitude and another the longitude
loc the name or number of the column giving the names of the locations to be used
lat the name or number of the column giving the latitude of the locations
long the name or number of the column giving the longitude of the locations

Details

This function will create a location table with latitude (Y) and longitude (X) for every location. This function ceates a matrix in the format needed for most of the geographic functions found in the fossil package.

Value

A matrix with a column of latitude and longitude, respectively with rownames correspnding to each location

Author(s)

Matthew Vavrek

See Also

create.matrix


[Package fossil version 0.2.4 Index]