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

as.data.frame.smetR Documentation

Coerces a smet-class object to a data frame

Description

Coerces a smet-class object to a data frame

Usage

## S3 method for class 'smet'
as.data.frame(
  x,
  ...,
  date.field = "timestamp",
  add.header = FALSE,
  use.melt = FALSE
)

Arguments

x

a smet-class object

...

further arguments

date.field

field neme used for date and time. Default is "timestamp".

add.header

logical If TRUE it adds header scalar attributes as fields of the data frame. Default is FALSE.

use.melt

logical. Default is FALSE. If it is TRUE, the result is melted with melt.

See Also

smet-class, smet,as.data.frame


ecor/RSMET documentation built on Aug. 30, 2023, 2:04 a.m.