Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ hyd1d Public

❗ This is a read-only mirror of the CRAN R package repository. hyd1d — 1d Water Level Interpolation along the Rivers Elbe and Rhine. Homepage: https://hyd1d.bafg.dehttps://github.com/bafg-bund/hyd1d Report bugs for this package: https://github.com/bafg-bund/hyd1d/issues/

Notifications You must be signed in to change notification settings

cran/hyd1d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyd1d

CRAN status CRAN total downloads CRAN monthly downloads CRAN weekly downloads

The R package hyd1d is designed to compute 1-dimensional water level information along the German Federal Waterways Elbe and Rhine.

Installation

hyd1d is available from CRAN. To install it run:

install.packages("hyd1d")

To install the latest development version from Github run:

install.packages("devtools")
library(devtools)
devtools::install_github("bafg-bund/hyd1d")

Usage

The package hyd1d is build around the S4-class WaterLevelDataFrame. To compute and visualize 1-dimensional water level information an object of class WaterLevelDataFrame has to be initialized. Various functions included in hyd1d use these objects and compute water levels stored in the column w.

# load the package
library(hyd1d)

# initialize a WaterLevelDataFrame
wldf <- WaterLevelDataFrame(river   = "Elbe",
                            time    = as.POSIXct("2016-12-21"),
                            station = seq(257, 262, 0.1))

# compute a water level
wldf <- waterLevel(wldf, TRUE)

# and plot it
plotShiny(wldf, TRUE, TRUE, TRUE, xlim = c(256.8, 262.2))

example output of hyd1d::plotShiny()

About

❗ This is a read-only mirror of the CRAN R package repository. hyd1d — 1d Water Level Interpolation along the Rivers Elbe and Rhine. Homepage: https://hyd1d.bafg.dehttps://github.com/bafg-bund/hyd1d Report bugs for this package: https://github.com/bafg-bund/hyd1d/issues/

Resources

Stars

Watchers

Forks

Packages

No packages published