oystermapR 1.6.0

Documentation

The weighting is now described accurately as rank-reciprocal (each variable’s weight is the inverse of its importance rank for the species). Earlier text called it “AHP-weighted”, but no pairwise-comparison matrices or consistency ratio were ever computed. No behaviour changes. The area_summary() example’s slow second call now runs under \donttest{} to keep example time short.

Evidence weighting

predict_oyster() gains weighting = c("rank", "evidence"). The default is unchanged, so every existing call returns exactly what it returned in 1.5.0.

The problem it addresses: the engine renormalises its rank weights over whichever variables happen to be present, so a survey measuring four of a species’ seventeen scored variables returns a confident number on [0, 1] with nothing on it to say the rest of the evidence base was never observed. Absence is indistinguishable from irrelevance. Two further consequences follow, both measurable — a variable that does not vary still absorbs weight, and a variable that does not reproduce is weighted identically to one that does.

Under weighting = "evidence" each variable’s weight becomes prior x reliability x spread, normalised. Reliability multiplies the biological prior and never replaces it: weighting on measured reliability alone would promote whatever the instrument happens to measure well, which is circular. Coverage — the share of the species’ total prior weight the survey observed — is reported separately and never multiplied into the per-cell score, which would put every location below any class threshold on a low-coverage survey.

New exported functions:

Plus print() methods for evidence_weights and evidence_coverage.

Lineage tolerance profiles and inverse lineage mapping

Tolerance profiles for populations or lineages, linked by genetic relatedness, and maps of where each is more likely to occur. Bring-your-own-data: occurrence records carrying a lineage identifier, and a pairwise genetic distance matrix. lineage_walkthrough.R runs the whole workflow on simulated data.

update_species_tolerances() gains profile (fit and cache under "<species>::<profile>") and prior (per-variable prior means and SDs). Both default to NULL, which leaves behaviour unchanged, and the result now also carries tolerances.

Fixes to update_species_tolerances()

The Bayesian update fitted a private copy of the scoring curve that differed from the one predict_oyster() uses, and reported no uncertainty. All of the following are corrected; results change.

If you have custom tolerance envelopes fitted on more than one variable, refit them. They were fitted under the inverted weights.

seafloormapRcore carries the only other copy of this code (it cannot run on its own – it needs a species pack that supplies get_species_tolerances()) and has the same corrections.

Fixes to check_exclusions() (and so predict_oyster())

Fix: generate_summary_pdf() in a non-UTF-8 locale

The PDF device cannot draw an em dash or a middle dot in a C or other non-UTF-8 locale and stopped with “conversion failure … in ‘mbcsToSbcs’” – including under R CMD check on some machines. In such a locale those characters now get plain-ASCII stand-ins; output in a UTF-8 locale is unchanged.

Insufficient data is a class

A location below confidence_floor (default 0.5) is returned as "Insufficient data" rather than handed a class it cannot support. The continuous score is still returned for it. Consequences elsewhere:

Notes

oystermapR 1.5.0

Ocean acidification scoring (pH + aragonite saturation)

Visualisation and spatial tools

Variable impact diagnostic (variable_impact())

Tolerance improvements (all 17 species)

Data completeness overlay

oystermapR 1.4.0

New species (9 added; 14 total)

New sensor readers (3 added)

Vignette

Citation and documentation


oystermapR 1.2.0

Live data integration

Sensor ingest (new readers)

Bug fixes


oystermapR 1.1.0

Season-aware scoring and tidal correction

Habitat and risk modules

Reporting

Validation


oystermapR 1.0.0

Initial CRAN release.

Core prediction pipeline

Species supported

Ostrea edulis, Magallana gigas, Crassostrea angulata, Ostrea stentina, Ostrea lurida. See list_species().

Sensor ingest

Validation and diagnostics

Bayesian tolerance updating

Risk and disturbance modules

Larval connectivity

Multi-species and seasonal comparison

mirror server hosted at Truenetwork, Russian Federation.