Difference between revisions of "RHydro"

From SourceWiki
Jump to navigation Jump to search
 
Line 23: Line 23:
  
 
   install.packages("RHydro_0.1.zip", repos=NULL)
 
   install.packages("RHydro_0.1.zip", repos=NULL)
 
 
  
 
==Loading==
 
==Loading==
Line 45: Line 43:
 
* river()
 
* river()
 
* sinkfind()
 
* sinkfind()
* streamorder()
 
 
* subcatch()
 
* subcatch()

Revision as of 21:24, 26 August 2008


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 save 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.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()