This package implements the buffered random sampling algorithm described in the paper: Kingsley, M., Kanneworff, P., & Carlsson, D. (2004). Buffered random sampling: a sequential inhibited spatial point process applied to sampling in a trawl survey for northern shrimp Pandalus borealis in West Greenland waters. Ices Journal of Marine Science, 61, 12-24.
Install buffersam
by running:
devtools::install_github("johan-ejstrud/buffersam", build_vignettes = TRUE)
(might only work with R version >= 4.1.0)
After installation, see the details on how to use the package by running:
vignette("buffersam")
https://github.com/johan-ejstrud/buffersam
When a new version is ready
- Run `devtools::check().
- Run
usethis::use_version("patch/minor/major")
. - Update
NEWS.sh
and commit. - Run
./tag_release.sh
. - Open https://github.com/johan-ejstrud/buffersam/tags
- Click 'Create release'.
- Click 'Publish release'.