To cite package ‘fibermargin’ in publications use:

Cacciatore S (2026). fibermargin: Categorical Mask and Spatial Label Refinement. R package version 0.1.0, https://CRAN.R-project.org/package=fibermargin.

Corresponding BibTeX entry:

  @Manual{,
    title = {fibermargin: Categorical Mask and Spatial Label
      Refinement},
    author = {Stefano Cacciatore},
    year = {2026},
    note = {R package version 0.1.0},
    url = {https://CRAN.R-project.org/package=fibermargin},
  }