as.data.frame.WaterLevelDataFrame {hyd1d}R Documentation

Coerce a WaterLevelDataFrame to a data.frame

Description

A function to coerce an object of class WaterLevelDataFrame to a data.frame.

Usage

## S3 method for class 'WaterLevelDataFrame'
as.data.frame(x, ...)

Arguments

x

an object of class WaterLevelDataFrame.

...

additional arguments to be passed to the internally used as.data.frame-function.

Value

as.data.frame returns a data.frame.

See Also

WaterLevelDataFrame, data.frame, as.data.frame

Examples

wldf <- WaterLevelDataFrame(river   = "Elbe",
                            time    = as.POSIXct("2016-12-21"),
                            station = seq(257, 262, 0.1))
df <- as.data.frame(wldf)


[Package hyd1d version 0.5.1 Index]