collapse.smet: Coerces a 'smet-class' object to a data frame

Description Usage Arguments Value Examples

View source: R/collapse.smet.R

Description

Coerces a smet-class object to a data frame

Usage

1
collapse.smet(x, y, headers = NULL, date.field = "timestamp")

Arguments

x

first smet-class object

y

second smet-class object

headers

header attributes to check before collapsing

date.field

field name used for date and time. Default is "timestamp", as used for SMET format.

Value

a collapsed smet-class object

Examples

 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) 

RSMET documentation built on April 24, 2018, 5:04 p.m.

Related to collapse.smet in RSMET...