Learn R Programming

dynatop - Maintainance branch for v0.2.* of dynatop

This R package contains the core code to perform a dynamic TOPMODEL simulation. A related package for processing GIS data to set up dynamic TOPMODEL implementations can be found here.

These two packages are intended as successors to the original Dynamic TOPMODEL implementation in R; the dynatopmodel package. Currently (as a design choice) not all the features of the original package are implemented.

If there is a feature or improvement you want or you experience problems please raise an issue (or better still submit a pull request with alterations or fixes!) rather than contact the maintainers directly in the first instance.

Over time there have been numerous variations on and applications of the R versions of dynamic TOPMODEL, selected references can be found in the Selected References vignette or here

Thanks goes to:

  • Peter Metcalfe who developed the original port of Dynamic TOPMODEL to R

during his PhD sponsored by the JBA Trust.

Beven](https://www.lancaster.ac.uk/lec/about-us/people/keith-beven) and Jim Freer, who contributed to the original R port of Dynamic TOPMODEL.

Using the code

Alongside the packages available on CRAN the latest development version can be installed from the git repository from within R using the devtools package:

devtools::install_github("waternumbers/dynatop")

Prebuild packages of the development version (which may be ahead of CRAN) are available from the r-universe

Copy Link

Version

Install

install.packages('dynatop')

Monthly Downloads

218

Version

0.2.4

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Paul Smith

Last Published

December 16th, 2025

Functions in dynatop (0.2.4)

dynatop-package

dynatop: An Implementation of Dynamic TOPMODEL Hydrological Model in R
evap_est

Create sinusoidal time series of potential evapotranspiration input
resample_xts

Functions to resample an xts time series
dynatop

R6 Class for Dynamic TOPMODEL
Swindale

Example dynamic TOPMODEL setup