Description Usage Arguments Value Examples
(ISBM/CYER) Combine the data from multiple .pt files.
1 | combinePTdata(pt.list)
|
pt.list |
A list. The output from |
A list of three data frames named data.isbm.long,
data.isbm.ages, and data.bper.long. Each data frame is in
long format and has the same strucutre as the long format data frames
produced by readPT, but each data frame includes a
cwtstock column as all stocks are combined into the same data frame.
1 2 3 4 5 6 7 8 9 | ## Not run:
data.path <- "../data/isbm"
pt.filenames <- list.files(data.path, pattern = ".PT$")
pt.filepaths <- paste(data.path, pt.filenames, sep="/")
pt.list <- readPT(pt.filepaths)
pt.list.long <- combinePTdata(pt.list)
names(pt.list.long)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.