Difference between revisions of "RHydro"

From SourceWiki
Jump to navigation Jump to search
m
Line 12: Line 12:
 
==Download==
 
==Download==
  
*[http://www.paramo.be/RHydro/RHydro_0.1.zip Windows]
+
*[http://www.paramo.be/RHydro/RHydro_0.1.1.zip Windows]
  
*[http://www.paramo.be/RHydro/RHydro_0.1.tgz MacOSX]
+
*[http://www.paramo.be/RHydro/RHydro_0.1.1.tgz MacOSX]
  
*[http://www.paramo.be/RHydro/RHydro_0.1.tar.gz Linux]
+
*[http://www.paramo.be/RHydro/RHydro_0.1.1.tar.gz Linux]
  
 
==Installation==
 
==Installation==
Line 22: Line 22:
 
Installation can be done via the packages menu (install local packages from zip files) or directly from the command line with:
 
Installation can be done via the packages menu (install local packages from zip files) or directly from the command line with:
  
   install.packages("RHydro_0.1.zip", repos=NULL)
+
   install.packages("RHydro_0.1.1.zip", repos=NULL)
  
 
==Loading==
 
==Loading==

Revision as of 11:19, 12 February 2009


Introduction

RHydro is a set of topographical analysis tools that are not dissimilar to the ArcGIS ArcHydro toolbox (but more modest in scope). They are originally based on the DTM-ANALYSIS program from the hydrology group at Lancaster University.

For a fully documented example, see the Digital terrain analysis with RHydro page.

RHydro is experimental software and comes without any warranty. Currently it does not do much input checking but should be fairly safe if used correctly.

Download

Installation

Installation can be done via the packages menu (install local packages from zip files) or directly from the command line with:

 install.packages("RHydro_0.1.1.zip", repos=NULL)

Loading

Once in R you need to load the package before you can use it:

  library(RHydro)

Function overview

Full documentation is provided in the package, and can be opened with:

  help.start()

The current version contains the following functions:

  • atb()
  • flowlength()
  • outlet()
  • river()
  • sinkfind()
  • subcatch()