Learn R Programming

stratigraph (version 0.66)

readGPDascii: Reads GPD ascii files

Description

Reads ascii files written in the Global Pollen Database ascii format.

Usage

readGPDascii(x) readTilia(...)

Arguments

x
a string giving the file path and name or a URL from which to obtain the ascii (.txt) file to read.
...
not currently used.

Value

Returns a list with the following elements: counts (count matrix of depths by taxa), depths, sample.names, absolute.ages, taxa (the full taxon names), short.names (8 character short names), tax.cat (taxonomic category, a factor to group the taxa), and metadata (a character vector providing commented metadata).

References

Eric Grimm?

http://www.ncdc.noaa.gov/paleo/gpd.html http://www.ncdc.noaa.gov/paleo/pollen/gpdascii.html

See Also

plot.strat.column, writeGPDascii

Examples

Run this code

## Note that this example will only work when executed on a
##   computer connected to the net

## Not run: 
#   URL <- paste('ftp://ftp.ncdc.noaa.gov/pub/data/paleo/pollen/',
#                'asciifiles/fossil/ascfiles/gpd/mohawk.txt', sep = '')
#   mohawk <- readGPDascii(URL)
# ## End(Not run)

Run the code above in your browser using DataLab