Description Usage Arguments Details Value See Also Examples
Reads distributional data (like measured ages) from an Excel file which contains one worksheet per sample/data set. The sample names are the worksheet names.
1 2 | read.xls.tabbed(filename, sheets = NULL, age.column = "preferred.age",
verbose = TRUE, ...)
|
filename |
The filename to load. |
sheets |
Optional vector specifying the worksheets to import. |
age.column |
Column name containing the age data in each sheet. |
verbose |
Print status messages during import. |
... |
Additional parameters passed on to |
Further arguments to read.xls()
can be passed in the
...
parameter, e.g. skip=n
to skip n lines at the top of each
table.
sheets
allow to import only a subset of worksheets, either a
character vector specifying the sheet names, or a numerical vector can be
given.
age.column
is the the column name within each worksheet containing
the data to be loaded.
If verbose=TRUE
, status messages are printed on the console during
data import, as read.xls()
has to be called repeatedly for each
worksheet, which can get slow.
A list of distributional data vectors (like e.g. ages) of varying length. The names are taken from the (chosen) worksheet names.
1 2 | datafile<-system.file("extdata", "Tarim.xls", package="ggprovenance")
agedata<-read.xls.flat(datafile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.