smet-class
object to a data frameCoerces a smet-class
object to a data frame
# S3 method for smet
as.data.frame(x, ..., date.field = "timestamp",
add.header = FALSE, use.melt = FALSE)
a smet-class
object
further arguments
field neme used for date and time. Default is "timestamp"
.
logical If TRUE
it adds header scalar attributes as fields of the data frame. Default is FALSE
.
logical. Default is FALSE
. If it is TRUE
, the result is melted with melt
.