| readTR | R Documentation |
TRA/TRZ have a multi-column body after END_HEADER; the last column
is the corrected acceleration. TRB/TRC have a single-column body
after the Unidades: (TRB) or USER5 (TRC) line. OCID lives in the
header: Component: (TRA/TRZ), Componente: (TRB), STREAM: (TRC).
readTR(file, type)
file |
Path to the file. |
type |
One of |
LONG data.table(t, OCID, s).
file <- tempfile()
writeLines(c(
"Component: HNZ",
"rate: 100",
"END_HEADER",
"skip1",
"skip2",
"1 2 3",
"4 5 6"
), file)
readTR(file, type = "TRA")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.