Learn R Programming

MODISTools (version 0.95.1)

ConvertExample: Example dataset for ConvertToDD

Description

A dataset consisting of a set of arbitrary locations in degrees minutes seconds (DMS) format that ConvertToDD can convert to decimal degrees format.

Usage

data(ConvertExample)

Arguments

Format

A data frame with 4 observations on the following 2 variables.
lat
A dataframe column containing latitude degrees minutes seconds (DDdMMmSS.SSSsN. ConvertToDD can take other formats and layouts in general.
long
A dataframe column containing longitude degrees minutes seconds (DDdMMmSS.SSSsW. ConvertToDD can take other formats and layouts in general.

Details

The various compatible layouts for each format are described at ?ConvertToDD (see also). If hemispheres are denoted using letters (N/S; E/W) then the same transformation (+ive -ive coordinates) will be carried out on all points. Therefore, in this case, if points within a dataset are in different hemispheres, they will be all be placed into one.

See Also

ConvertToDD