Skip to content
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

calc_number_of_years_sampled function returns one too few years #121

Open
kzollove opened this issue Sep 23, 2021 · 0 comments
Open

calc_number_of_years_sampled function returns one too few years #121

kzollove opened this issue Sep 23, 2021 · 0 comments

Comments

@kzollove
Copy link
Contributor

kzollove commented Sep 23, 2021

This function returns number of years sampled - 1

I think this -1 was implemented to handle a situation Where sampling occurred Jan 1, 2000 through Jan 1, 2001 (logically, one year of sampling)

But in any other instance it makes sense to not have the -1 year

Screen Shot 2021-09-23 at 2 47 38 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant