Package: mbr 0.0.1.1
mbr: Mass Balance Reconstruction
Mass-balance-adjusted Regression algorithm for streamflow reconstruction at sub-annual resolution (e.g., seasonal or monthly). The algorithm implements a penalty term to minimize the differences between the total sub-annual flows and the annual flow. The method is described in Nguyen et al (2020) <doi:10.1002/essoar.10504791.1>.
Authors:
mbr_0.0.1.1.tar.gz
mbr_0.0.1.1.zip(r-4.7)mbr_0.0.1.1.zip(r-4.6)mbr_0.0.1.1.zip(r-4.5)
mbr_0.0.1.1.tgz(r-4.6-any)mbr_0.0.1.1.tgz(r-4.5-any)
mbr_0.0.1.1.tar.gz(r-4.7-any)mbr_0.0.1.1.tar.gz(r-4.6-any)
mbr_0.0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
mbr/json (API)
| # Install 'mbr' in R: |
| install.packages('mbr', repos = c('https://critical-infrastructure-systems-lab.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ntthung/mbr/issues
- p1Seasonal - Seasonal streamflow at P.1 station
- pc3seasons - Principal components of tree rings
Last updated from:e5850b4229. Checks:7 NOTE, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | NOTE | 165 | ||
| source / vignettes | OK | 205 | ||
| linux-release-x86_64 | NOTE | 160 | ||
| macos-release-arm64 | NOTE | 113 | ||
| macos-oldrel-arm64 | NOTE | 114 | ||
| windows-devel | NOTE | 115 | ||
| windows-release | NOTE | 117 | ||
| windows-oldrel | NOTE | 114 | ||
| wasm-release | OK | 114 |
Exports:calculate_metricscv_mbKGEmake_Zmb_reconstructionnRMSENSERE
Dependencies:bootclidata.tabledigestdplRgluelatticelifecyclelme4magrittrMASSMatrixmatrixStatsminqanlmenloptrpngR.methodsS3R.ooR.utilsrbibutilsRcppRcppArmadilloRcppEigenRcppParallelRdpackreformulasRfastrlangsignalstringistringrvctrsXMLzigg
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Back-transformation | back_trans |
| Reconstruction metrics | calculate_metrics |
| Scale columns of a matrix | colScale |
| Unscale columns of a matrix | colUnscale |
| Cross-validation | cv_mb |
| Kling-Gupta Efficiency | KGE |
| Least square with mass balance penalty | lsq_mb |
| Make cross-validation folds. | make_Z |
| Fit parameters with mass balance criterion | mb_fit |
| Mass-balance-adjusted reconstruction | mb_reconstruction |
| Normalized root-mean-square error | nRMSE |
| Nash-Sutcliffe Efficiency | NSE |
| Objective function from parameters | obj_fun |
| Seasonal streamflow at P.1 station | p1Seasonal |
| Principal components of tree rings | pc3seasons |
| Prepend a column of ones | prepend_ones |
| Reduction of Error | RE |
| Scale rows of a Matrix | rowScale |
| Unscale rows of a matrix | rowUnscale |
