Package: HRRI 1.0.9

HRRI: Diagnostics for Soil-Plant-Microbial Redox Recovery

Provides diagnostic functions for integrating longitudinal soil, plant and microbial observations during redox disturbance and recovery. Functions calculate stoichiometric potential oxygen demand, accessible electron capacity from explicitly supplied inventories and kinetic parameters, recovery signatures, fixed-reference domain scores, and exploratory multiblock scores with observation-coverage diagnostics. Memory is represented as a holobiont state accumulating from mineralogical, plant-acclimation and microbial-community legacies. An illustrative simulator produces closed Fe and Mn inventories alongside synthetic observations; its carbon, nitrogen, sulfur and oxygen budgets are not closed and its parameters are not calibrated to field rates. Simulation benchmarks assess agreement with a prescribed synthetic target and do not constitute empirical validation or parameter identification. Accuracy assessment is cluster-aware: intervals come from resampling whole trajectories, agreement is reported as Lin's concordance coefficient alongside correlation, and mean squared error is partitioned into bias, variance mismatch and lack of correlation. The measured quantities follow Sander, Hofstetter and Gorski (2015) <doi:10.1021/acs.est.5b00006> for mediated electrochemical determination of electron-accepting and electron-donating capacity, Kluepfel, Piepenbrock, Kappler and Sander (2014) <doi:10.1038/ngeo2084> for regeneration of electron-accepting capacity across repeated anoxic periods, Thompson, Chadwick, Rancourt and Chorover (2006) <doi:10.1016/j.gca.2005.12.005> for the increase in iron-oxide crystallinity under redox oscillation, and Keiluweit, Wanzek, Kleber, Nico and Fendorf (2017) <doi:10.1038/s41467-017-01406-6> for anaerobic microsites in otherwise aerobic soil. Agreement statistics follow Lin (1989) <doi:10.2307/2532051> and Kobayashi and Salam (2000) <doi:10.2134/agronj2000.922345x>.

Authors:Mitra Ghotbi [aut, cre], Marjan Ghotbi [ctb]

HRRI_1.0.9.tar.gz
HRRI_1.0.9.zip(r-4.7-any)HRRI_1.0.9.zip(r-4.6-any)HRRI_1.0.9.zip(r-4.5-any)
HRRI_1.0.9.tgz(r-4.6-any)HRRI_1.0.9.tgz(r-4.5-any)
HRRI_1.0.9.tar.gz(r-4.7-any)HRRI_1.0.9.tar.gz(r-4.6-any)
HRRI_1.0.9.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
HRRI/json (API)

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

Bug tracker:https://github.com/mghotbi/hrri/issues

Pkgdown/docs site:https://mghotbi.github.io

On CRAN:

Conda:

droughtehelectrochemical-analysisfloodingholobionthydrologyhysteresismicrobial-genomicsplantrecoveryredoxresiliencesoilsoil-plant-microbestress

5.32 score 2 stars 242 downloads 39 exports 32 dependencies

Last updated from:cce9e1ea92. Checks:7 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develWARNING177
source / vignettesOK215
linux-releaseWARNING190
macos-releaseWARNING211
macos-oldrelWARNING271
windows-develWARNING121
windows-releaseWARNING141
windows-oldrelWARNING107
wasm-releaseOK104

Exports:attach_hrri_idsbenchmark_hrrihrri_infer_architectureplot_hrri_benchmarkplot_rri_accuracyplot_rri_frameworkplot_rri_identifiabilityplot_rri_propertiesplot_rri_recovery_diagnosticsplot_rri_recovery_landscapeplot_rri_recovery_mapplot_rri_simulation_demoplot_rri_state_spaceplot_RRI_ternaryplot_rri_timeseriesplot_rri_validationrri_accessible_capacityrri_accuracyrri_capacity_indexrri_compensation_indexrri_connectivity_scorerri_default_reservoirsrri_domain_influencerri_kinetics_scorerri_latent_correlationrri_memory_indexrri_micro_functional_scorerri_o2_demandrri_pipelinerri_pipeline_strri_property_scoresrri_recovery_metricsrri_reference_scoresrri_root_physiorri_sensitivityrri_simulation_demosimulate_redox_holobionttheme_emsvalidate_architecture

Dependencies:clicpp11dplyrfarvergenericsggplot2gluegtableigraphisobandlabelinglatticelifecyclemagrittrMatrixpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

HRRI: Reading the Figures — A Worked Example
How to use this vignette | The experiment | The four hidden states, made visible | Memory is a holobiont state | Scoring the three domains | One trajectory in context | Where the domains sit relative to each other | Domain-score state space | Recovery signatures | Recovery map across all trajectories | Ranking trajectories by signature | Property diagnostics | Did HRRI recover the hidden state? | Using your own data | Complete paper figure set | Session information

Last update: 2026-10-04
Started: 2026-09-02

HRRI: Holobiont Redox Resilience Index — End-to-End Workflow
Introduction | In-silico Data Generation | Design identifiers | Soil geochemical outputs | Fe mass-balance verification | Plant physiology | Microbial functional genes | Accessible-Capacity Estimation | Effect of event timescale τ | RRI Pipeline | Agreement with the prescribed target | Recovery Signatures | Disturbance-History Sensitivity | Publication figures | Session Information | References | Published methods | Companion manuscripts

Last update: 2026-10-04
Started: 2026-09-01

HRRI: Reproduce All Six Paper Figures in R
One figure-to-function map | Figure 1: complementary routes | Figure 2: identifiability, sensitivity and accounting | Figure 3: forcing and responses | Figure 4: recovery diagnostics | Figure 5: operational properties | Figure 6: conditional agreement | Export without loss of quality | References | Published methods | Companion manuscripts

Last update: 2026-10-04
Started: 2026-10-03

Readme and manuals

Help Manual

Help pageTopics
Attach design identifiers to a score table with explicit alignment checksattach_hrri_ids
Benchmark diagnostic agreement with a simulator-defined targetbenchmark_hrri print.hrri_benchmark
Fit a conditional capacity-recovery curve (legacy function name)as.data.frame.hrri_arch hrri_infer_architecture print.hrri_arch print.hrri_arch_validation summary.hrri_arch validate_architecture
Worked example: a complete HRRI workflowHRRI_workflow_example redoxrri_example
Plot descriptive benchmark agreementplot_hrri_benchmark
Four-panel diagnostic figure for an accuracy assessmentplot_rri_accuracy
Complementary mechanistic and observational routesplot_rri_framework
Identifiability, sensitivity and oxygen-accounting illustrationsplot_rri_identifiability
Profile of Available HRRI Diagnosticsplot_rri_properties
Aligned score trajectories and recovery-descriptor availabilityplot_rri_recovery_diagnostics
Plot a recovery landscape from RRI perturbation-recovery metricsplot_rri_recovery_landscape
Plot RRI Recovery Mapplot_rri_recovery_map
Draw the reproducible simulation demonstrationplot_rri_simulation_demo
Plot domain-score space with correctly matched trajectory diagnosticsplot_rri_state_space
Ternary Plot of Relative Domain Scoresplot_RRI_ternary
Aligned time series with separate physical unitsplot_rri_timeseries
Scatter of HRRI score against a simulator-defined targetplot_rri_validation
Event-window accessible reservoir capacitiesrri_accessible_capacity
Agreement between a score and a reference target, respecting clusteringprint.rri_accuracy rri_accuracy
Oxidative-oriented soil feature compositerri_capacity_index
Cross-domain asynchrony diagnosticrri_compensation_index
Cross-domain association or graph-topology summaryrri_connectivity_score
Illustrative reservoir parameter templaterri_default_reservoirs
Realised influence of each domain on the composite scorerri_domain_influence
Descriptive recovery speed scorerri_kinetics_score
Correlation with a Simulator-Defined Targetrri_latent_correlation
Persistent-displacement and loop-area diagnosticrri_memory_index
Construct an explicitly weighted microbial guild contrastrri_micro_functional_score
Stoichiometric O_2 Demand from Reduced-Pool Inventoriesrri_o2_demand
Score observed soil, plant and microbial panelsrri_pipeline
Exploratory domain-score integration (legacy interface)rri_pipeline_st
Summarise supported diagnostics without fabricating missing propertiesrri_property_scores
Descriptive recovery metrics for a single disturbancerri_recovery_metrics
Score departures from an explicitly defined referencerri_reference_scores
Exploratory root-trait compositerri_root_physio
Sensitivity to domain aggregation weightsrri_sensitivity
Reproducible observable-only HRRI demonstrationrri_simulation_demo
Simulate illustrative soil-plant-microbe redox trajectoriessimulate_redox_holobiont
EMS plotting themetheme_ems