View source: R/tableContracts.R
| IML2IMW | R Documentation |
IML2IMW() casts long intensity output from TSL2IM() / getIntensity()
to one row per metadata and OCID, with intensity measures as columns.
IML2IMW(.x, by = "auto")
.x |
Long intensity table with columns |
by |
Metadata columns to keep as row keys. The default |
A wide intensity data.table.
iml <- data.table::data.table(RecordID = "R1", OCID = "H1",
ID = "AT", IM = "PGA",
value = 1, units = "mm /s2")
IML2IMW(iml)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.