Package: bdrc 2.0.0

Rafael Daníel Vias

bdrc: Bayesian Discharge Rating Curves

Fits a discharge rating curve based on the power-law and the generalized power-law from data on paired stage and discharge measurements in a given river using a Bayesian hierarchical model as described in Hrafnkelsson et al. (2020) <arxiv:2010.04769>.

Authors:Birgir Hrafnkelsson [aut, cph], Solvi Rognvaldsson [aut], Rafael Daníel Vias [aut, cre], Axel Orn Jansson [aut]

bdrc_2.0.0.tar.gz
bdrc_2.0.0.zip(r-4.5)bdrc_2.0.0.zip(r-4.4)bdrc_2.0.0.zip(r-4.3)
bdrc_2.0.0.tgz(r-4.4-x86_64)bdrc_2.0.0.tgz(r-4.4-arm64)bdrc_2.0.0.tgz(r-4.3-x86_64)bdrc_2.0.0.tgz(r-4.3-arm64)
bdrc_2.0.0.tar.gz(r-4.5-noble)bdrc_2.0.0.tar.gz(r-4.4-noble)
bdrc_2.0.0.tgz(r-4.4-emscripten)bdrc_2.0.0.tgz(r-4.3-emscripten)
bdrc.pdf |bdrc.html
bdrc/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/sor16/bdrc/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • jokdal - Jokulsa a Dal gauging station in Iceland
  • jokfjoll - Jokulsa a Fjollum gauging station in Iceland
  • kallstorp - Kallstorp gauging station in Sweden
  • krokfors - Krokfors gauging station in Sweden
  • melby - Melby gauging station in Sweden
  • nordura - Nordura gauging station in Iceland
  • norn - Norn gauging station in Sweden
  • skjalf - Skjalfandafljot gauging station in Iceland
  • skogsliden - Skogsliden gauging station in Sweden
  • spanga - Spanga gauging station in Sweden

On CRAN:

bayesian-inferencepower-lawrivers

6.07 score 12 stars 11 scripts 263 downloads 9 exports 31 dependencies

Last updated 3 months agofrom:73ebd06fe7. Checks:OK: 6 NOTE: 3. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 05 2024
R-4.5-win-x86_64NOTENov 05 2024
R-4.5-linux-x86_64OKNov 05 2024
R-4.4-win-x86_64NOTENov 05 2024
R-4.4-mac-x86_64OKNov 05 2024
R-4.4-mac-aarch64OKNov 05 2024
R-4.3-win-x86_64NOTENov 05 2024
R-4.3-mac-x86_64OKNov 05 2024
R-4.3-mac-aarch64OKNov 05 2024

Exports:gather_drawsget_reportget_report_pagesgplmgplm0plmplm0spread_drawstournament

Dependencies:clicolorspacefansifarverggplot2gluegridExtragtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerRcppRcppArmadillorlangscalestibbleutf8vctrsviridisLitewithr

Background

Rendered frombackground.Rmdusingknitr::rmarkdownon Nov 05 2024.

Last update: 2024-09-06
Started: 2021-04-22

Introduction

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Nov 05 2024.

Last update: 2024-09-06
Started: 2021-01-23

Tournament - Model comparison

Rendered fromtournament.Rmdusingknitr::rmarkdownon Nov 05 2024.

Last update: 2024-09-06
Started: 2021-02-12

Readme and manuals

Help Manual

Help pageTopics
Autoplot method for discharge rating curvesautoplot.gplm autoplot.gplm0 autoplot.plm autoplot.plm0
Autoplot method for discharge rating curve tournamentautoplot.tournament
Gather MCMC chain draws to data.frame on a long formatgather_draws
Report for a discharge rating curve or tournamentget_report get_report.gplm get_report.gplm0 get_report.plm get_report.plm0 get_report.tournament
Report pages for a discharge rating curve or tournamentget_report_pages get_report_pages.gplm get_report_pages.gplm0 get_report_pages.plm get_report_pages.plm0 get_report_pages.tournament
Generalized power-law model with variance that varies with stage.gplm
Generalized power-law model with a constant variancegplm0
Jokulsa a Dal gauging station in Icelandjokdal
Jokulsa a Fjollum gauging station in Icelandjokfjoll
Kallstorp gauging station in Swedenkallstorp
Krokfors gauging station in Swedenkrokfors
Melby gauging station in Swedenmelby
Nordura gauging station in Icelandnordura
Norn gauging station in Swedennorn
Power-law model with variance that varies with stage.plm
Power-law model with a constant varianceplm0
Plot method for discharge rating curvesplot.gplm plot.gplm0 plot.plm plot.plm0
Plot method for a discharge rating curve tournamentplot.tournament
Predict method for discharge rating curvespredict.gplm predict.gplm0 predict.plm predict.plm0
Print method for discharge rating curvesprint.gplm print.gplm0 print.plm print.plm0
Print method for discharge rating curve tournamentprint.tournament
Skjalfandafljot gauging station in Icelandskjalf
Skogsliden gauging station in Swedenskogsliden
Spanga gauging station in Swedenspanga
Spread MCMC chain draws to data.frame on a wide formatspread_draws
Summary method for discharge rating curvessummary.gplm summary.gplm0 summary.plm summary.plm0
Summary method for a discharge rating curve tournamentsummary.tournament
Tournament - Model comparisontournament