Probability of Detection for Grab Sample Selection
Overview
Functions for obtaining the probability of detection, for grab samples selection by using two different methods such as systematic or random based on two-state Markov chain model. For detection probability calculation, we used results from Bhat, U. and Lal, R. (1988) doi:10.2307/1427041.
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Mayooran Thevaraja <mayooran@eng.jfn.ac.lk>’
Found the following URLs which should use \doi (with the DOI name only):
File ‘prob_accept.Rd’:
https://doi.org/10.1109/ICC.2006.255040
https://doi.org/10.1016/j.foodcont.2013.02.021
File ‘prob_contaminant.Rd’:
https://doi.org/10.2307/1427041- NOTE11 OK, 2 NOTENow
- NOTE9 OK, 5 NOTE2026-03-10
Documentation
- Help pages
- 10
- Examples that run
- 100%10 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 85%
- Return-value docs
- 100%
- Help pages citing references
- 20%
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 252
Stars over time
PRs over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/mayooran1987/grabsampling on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows
Show all practicesHide 1 practice
Dependencies
Installing grabsampling adds 31 packages (17 with compiled code, 32 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, ggthemes 2.1 MB.
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.0.0Latest2020-03-04 · current release
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-03-04
- Total releases
- 1 / 6 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.2
- Download size
- 12 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("grabsampling")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.