-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warn about non-integers in removal()
#60
Comments
is.wholenumber() in bazar and is.whole() in bgr check for numeric when checking for whole number. Suggest doing the same. |
Your
Relatedly ...
|
The
removal()
function is primarily used with catch of individuals data. Thus, the data should generally be whole numbers that are positive. Consider adding a check for whole numbers and throwing a warning, not an error (as some have usedremoval()
to estimate biomass and thus have used non-whole numbers). Do not useis.integer()
. Look atis.whole()
in several other packages.The text was updated successfully, but these errors were encountered: