README.md

hydroplots

hydroplots currently includes a single function (ctf_heatmap) to plot a raster heat map of flow and cease to flow spells (or spells below a threshold) based on daily time-series data.

Installation

To install run the following code:

  # install devtools pacakge
  install.packages(c("devtools"))

  # install hydroplots package
    devtools::install_github("nickbond/hydroplots")

    # Remove the package zip after installation
    unlink("hydroplots.zip")

    #load library
    library(hydroplots)

Example

The code below produces the following plot for Cooper Creek, a highly ephemeral river in western Queensland, Australia. The function uses geom_raster() from the ggplot2 package. Addtional options are available (see ?ctf_heatmap for details).

 library(hydrostats)
 library(hydroplots)
 data(Cooper)
 ctf_heatmap(Cooper)

Alt tag

Developer

Nick Bond n.bond@griffith.edu.au



nickbond/hydroplots documentation built on May 23, 2019, 4:46 p.m.