| readTwoCol | R Documentation |
Time in column 1 (seconds), signal in column 2. No header. Separator
(space or tab) is auto-detected by fread. Trailing all-NA columns
(some providers leave a trailing tab -> phantom column) are dropped.
readTwoCol(file)
file |
Path to the file. |
OCID extracted from filename. Three known patterns:
SEED-like: NET.STA.LOC.CHA__... -> CHA
CENA: <date>_<time>_NET.STA.CHA_AccTH -> CHA
CLSMD: <X>_acc.txt -> X
LONG data.table(t, OCID, s).
dir <- tempfile()
dir.create(dir)
file <- file.path(dir, "N_acc.txt")
writeLines(c("0 1", "0.01 2"), file)
readTwoCol(file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.