Package: PRSim 1.5

PRSim: Stochastic Simulation of Streamflow Time Series using Phase Randomization

Provides a simulation framework to simulate streamflow time series with similar main characteristics as observed data. These characteristics include the distribution of daily streamflow values and their temporal correlation as expressed by short- and long-range dependence. The approach is based on the randomization of the phases of the Fourier transform or the phases of the wavelet transform. The function prsim() is applicable to single site simulation and uses the Fourier transform. The function prsim.wave() extends the approach to multiple sites and is based on the complex wavelet transform. The function prsim.weather() extends the approach to multiple variables for weather generation. We further use the flexible four-parameter Kappa distribution, which allows for the extrapolation to yet unobserved low and high flows. Alternatively, the empirical or any other distribution can be used. A detailed description of the simulation approach for single sites and an application example can be found in Brunner et al. (2019) <doi:10.5194/hess-23-3175-2019>. A detailed description and evaluation of the wavelet-based multi-site approach can be found in Brunner and Gilleland (2020) <doi:10.5194/hess-24-3967-2020>. A detailed description and evaluation of the multi-variable and multi-site weather generator can be found in Brunner et al. (2021) <doi:10.5194/esd-12-621-2021>. A detailed description and evaluation of the non-stationary streamflow generator can be found in Brunner and Gilleland (2024) <doi:10.1029/2023EF004238>.

Authors:Manuela Brunner [aut, cre], Reinhard Furrer [aut], R Core Teamn [ctb, cph]

PRSim_1.5.tar.gz
PRSim_1.5.zip(r-4.5)PRSim_1.5.zip(r-4.4)PRSim_1.5.zip(r-4.3)
PRSim_1.5.tgz(r-4.5-x86_64)PRSim_1.5.tgz(r-4.5-arm64)PRSim_1.5.tgz(r-4.4-x86_64)PRSim_1.5.tgz(r-4.4-arm64)PRSim_1.5.tgz(r-4.3-x86_64)PRSim_1.5.tgz(r-4.3-arm64)
PRSim_1.5.tar.gz(r-4.5-noble)PRSim_1.5.tar.gz(r-4.4-noble)
PRSim_1.5.tgz(r-4.4-emscripten)PRSim_1.5.tgz(r-4.3-emscripten)
PRSim.pdf |PRSim.html
PRSim/json (API)
NEWS

# Install 'PRSim' in R:
install.packages('PRSim', repos = c('https://manuelabrunner.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 8 scripts 378 downloads 3 exports 20 dependencies

Last updated 12 months agofrom:d9a6e5806c. Checks:8 OK, 4 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 13 2025
R-4.5-win-x86_64NOTEMar 13 2025
R-4.5-mac-x86_64NOTEMar 13 2025
R-4.5-mac-aarch64NOTEMar 13 2025
R-4.5-linux-x86_64NOTEMar 13 2025
R-4.4-win-x86_64OKMar 13 2025
R-4.4-mac-x86_64OKMar 13 2025
R-4.4-mac-aarch64OKMar 13 2025
R-4.4-linux-x86_64OKMar 13 2025
R-4.3-win-x86_64OKMar 13 2025
R-4.3-mac-x86_64OKMar 13 2025
R-4.3-mac-aarch64OKMar 13 2025

Exports:prsimprsim.waveprsim.weather

Dependencies:abindalabamadotCall64fieldsgoftestlmomcoLmomentsmapsMASSmevnleqslvnumDerivRcppRcppArmadilloRsolnpspamsplus2RtruncnormviridisLitewavScalogram