Description Usage Arguments Value Examples
View source: R/collapse.smet.R
Coerces a smet-class
object to a data frame
1 | collapse.smet(x, y, headers = NULL, date.field = "timestamp")
|
x |
first |
y |
second |
headers |
header attributes to check before collapsing |
date.field |
field name used for date and time. Default is |
a collapsed smet-class
object
1 2 3 4 5 6 7 8 9 10 11 12 13 | smet1 <- as.smet(system.file("examples/zugspitze1.smet",package="RSMET"))
smet2 <- as.smet(system.file("examples/zugspitze2.smet",package="RSMET"))
newsmet <- collapse.smet(x=smet1,y=smet2)
newsmet_ <- collapse.smet(x=smet2,y=smet1)
x <- smet(system.file('examples/PIEM001114.smet',package="RSMET"))
y <- smet(system.file('examples/PIEM001114_20160308.smet',package="RSMET"))
xy <- collapse.smet(x,y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.