read.xls.flat: Read a 'flat' Excel age data file

Description Usage Arguments Details Value See Also Examples

View source: R/io.r

Description

Reads distributional data (like measured ages) from an Excel file in which all data is contained in one worksheet, one column per sample. The sample names are taken from the first line (headers).

Usage

1
read.xls.flat(filename, ...)

Arguments

filename

The filename to load.

...

Additional parameters passed on to read.xls.

Details

Further arguments to read.xls() can be passed in the ... parameter, e.g. skip=n to skip n lines at the top of the table, or sheet="abc" to specify the name of the worksheet containing the data.

Value

A list of distributional data vectors (like e.g. ages) of varying length. The names are taken from the column names in the first line in the data file, usually sample names.

See Also

read.xls.tabbed, read.xls

Examples

1
2
datafile<-system.file("extdata", "Tarim.xls", package="ggprovenance")
agedata<-read.xls.flat(datafile)

thegeologician/ggprovenance documentation built on Sept. 26, 2021, 8:59 a.m.