davidclarance / rabm

The `rabm` package provides an interface to the Africa Bird Atlas data.
https://davidclarance.github.io/rabm/
3 stars 1 forks source link

Add coverage check (warning/catch error) if the sample size is below a defined threshold #4

Open davidclarance opened 5 years ago

davidclarance commented 5 years ago

From Alan Lee: Need to define the parameters for the threshold.

bluehill commented 5 years ago

I'd do something like: if('number of cards for 1 or more pentads'<4){warning("Please note that one or more of your selected pentads has fewer than 4 cards: reporting rates will likely not be useful for this summary") # or whatever: where prior to this there is a check on the number of cards for a pentad or set of pentads.