http://walkerjeffd.github.io/weathergen
This package will contain functions for generating synthetic daily timeseries of precipitation and air temperature under future climate change scenarios. These timeseries can then be used for performing a climate stress test.
This package is under heavy development and should not be used until its official release.
Before installing the weathergen
package, you must install the hydromad
package (homepage) using the following commands:
install.packages(c("zoo", "latticeExtra", "polynom", "car", "Hmisc","reshape"))
install.packages("hydromad", repos="http://hydromad.catchment.org")
The weathergen
package can then be installed from this github repo using the install_github()
function from the devtools
package.
devtools::install_github('walkerjeffd/weathergen')
library(weathergen)
To build the package from source:
devtools::document()
devtools::build()
To build only vignettes, run:
devtools::build_vignettes()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.