fibermargin: Categorical Mask and Spatial Label Refinement

Implements 'FiberMargin', a deterministic training-free operator for repairing categorical masks and spatial labels from coordinates and labels alone. Its primary multiclass operator uses rotated space-filling-curve charts and two-sided class enclosure at one fixed geometric transport range. A class-balanced, isolation-protected chart-disagreement rule provides pointwise repair decisions and audit scores. An auxiliary nearest-neighbour ballot handles binary masks. The 'C++' engine supports two- and three-dimensional coordinates, removes constant axes independently within each specimen, and reuses one deterministic CPU worker budget without nested process pools. Reproducible mask corruptions, planar and volumetric simulators, damage-aware evaluation, and compact licensed human dorsolateral prefrontal cortex and colorectal cancer benchmarks support assessment.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: Rcpp, parallel
LinkingTo: Rcpp
Suggests: testthat (≥ 3.0.0), ggplot2, dplyr, tidyr, knitr, rmarkdown
Published: 2026-09-18
DOI: 10.32614/CRAN.package.fibermargin (may not be active yet)
Author: Stefano Cacciatore [aut, cre, cph]
Maintainer: Stefano Cacciatore <tkcaccia at gmail.com>
BugReports: https://github.com/tkcaccia/fibermargin/issues
License: MIT + file LICENSE
URL: https://tkcaccia.github.io/fibermargin/, https://github.com/tkcaccia/fibermargin
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: fibermargin results

Documentation:

Reference manual: fibermargin.html , fibermargin.pdf
Vignettes: benchmarks (source, R code)
FiberMargin: Complete User Guide (source, R code)
fibermargin_reference (source, R code)

Downloads:

Package source: fibermargin_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): fibermargin_0.1.0.tgz, r-oldrel (x86_64): fibermargin_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=fibermargin to link to this page.