Learn R Programming

wasim (version 1.0)

wasim-package: Visualisation and analysis of output files of the hydrological model WASIM

Description

More about what it does (maybe more than one line) ~~ A concise (1-5 lines) description of the package ~~

Arguments

Details

ll{ Package: wasim Type: Package Version: 0.1 Date: 2007-09-11 License: What license is it under? } ~~ An overview of how to use the package, including the most important ~~ ~~ functions ~~

References

~~ Literature or other references for background information ~~

Examples

Run this code
d.datum <- read.dates(file= system.file("weisseritz/qgesww100.txt", package="wasim"))  # Datumsreihe heisst jetzt d.datum
d.wasim.out <- read.results("", system.file("weisseritz", package="wasim"),ts.length=21937,subcatchments=2, ending="ww100.txt")    # Datensatz heisst jetzt d.wasim.out 
d.meas.all<-read.table(system.file("weisseritz/ww100-rh.txt", package="wasim"),header=TRUE, na.strings ="999", skip=4)  # gemessene Daten einlesen
d.meas<-d.meas.all$Ammelsdorf[69716:91652]
p.storage(d.wasim.out, xdata=d.datum, measured=d.meas)

sd.grid <- read.grid( file= system.file("weisseritz/sd__ww100.grd", package="wasim"))  # Datumsreihe heisst jetzt d.datum
p.grid(sd.grid, 
        color.palette=topo.colors,
	      zlim=c(-20,20),
        main="Saturation deficit at the Weisseritz")

#for english x-lab in Germany/Switzerland:
Sys.setlocale(category = "LC_ALL", locale = "en")

Run the code above in your browser using DataLab