Creates and validates a rectangular classification in depth-velocity space. Every lower bound is inclusive and every upper bound is exclusive. Class IDs are nominal identifiers, not ecological ranks.
Usage
meso_scheme(
rules,
name = "Custom mesohabitat scheme",
description = NULL,
depth_units = "m",
velocity_units = "m/s",
citation = NULL,
source_doi = NULL,
allow_gaps = FALSE,
allow_negative = FALSE
)Arguments
- rules
A data frame with
class_id,label,depth_min,depth_max,velocity_min, andvelocity_max.- name
Nonempty scheme name.
- description
Optional description.
- depth_units, velocity_units
Nonempty unit labels.
- citation
Optional source citation.
- source_doi
Optional source DOI.
- allow_gaps
Whether uncovered regions at nonnegative depth and velocity are permitted.
- allow_negative
Whether negative rule minima are permitted.
