Skip to content

Main content

Community Rare Count Share Tool

Use an explicit count cutoff for rarity bookkeeping; zero-count taxa are excluded from rare taxa.

Loading tool…

Description

Summarize counts below a supplied rarity cutoff, with exact decimal totals and an approximate numeric share.

Ecological sampling summaries distinguish effort, weighted support, taxon counts and relative composition. A denominator-specific fraction or single-species contribution need not describe abundance, completeness or a whole-community index.

Summarize counts below a supplied rarity cutoff, with exact decimal totals and an approximate numeric share.

When to use this tool

Use Community Rare Count Share when checking a supplied ecological effort, support or count convention.

How to use the tool and how it works

  1. Enter taxonCounts, suppliedRareMaximum. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read totalCountDecimal, rareCountDecimal, rareTaxa, share, defined. Inspect defined before interpreting the associated values.

Require nonnegative whole taxonCounts and nonnegative whole suppliedRareMaximum. Sum all counts and positive counts <= the rare threshold with exact integer arithmetic. Return exact decimal totals, rareTaxa, and rare/total as a numeric share, or zero with defined = false at zero total.1

Input fieldMeaning and unitsAccepted input
taxonCountsTaxon CountsRequired. Array of safe integer; minimum 0; maximum items 256.
suppliedRareMaximumSupplied Rare MaximumRequired. Safe integer; minimum 0.
Output fieldInterpretationReturned shape
totalCountDecimalTotal Count DecimalRequired. Text; maximum UTF-16 length 8192.
rareCountDecimalRare Count DecimalRequired. Text; maximum UTF-16 length 8192.
rareTaxaRare TaxaRequired. Safe integer.
shareApproximate numeric rare-count/total ratio; exact totals are returned as decimal strings.Required. Finite number.
definedWhether the stated denominator has positive support; read this before interpreting a zero placeholder.Required. Boolean.
json
{
  "input": {
    "taxonCounts": [
      1,
      2,
      5
    ],
    "suppliedRareMaximum": 2
  },
  "output": {
    "totalCountDecimal": "8",
    "rareCountDecimal": "3",
    "rareTaxa": 2,
    "share": 0.375,
    "defined": true
  }
}

Limitations and assumptions

  • Zero-abundance taxa are not rare taxa here. The threshold is supplied; numeric share is approximate even though total strings are exact, and rarity does not establish conservation status.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use an appropriate sampling, detection and community-analysis method for inference beyond these local summaries.

References

  1. Calculation and input contract: ecology/community-rare-count-share — tool.io

Similar or alternative tools