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

[Optimization] R0_and_mean_shape_estimation.R - Special-case zero length data #3

Open
Siddhant opened this issue Apr 13, 2020 · 2 comments

Comments

@Siddhant
Copy link

Siddhant commented Apr 13, 2020

We can skip this loop for States/UT who (thankfully) have no cases, or date range having no cases. No need of unnecessarily doing N^2 iterations.

Consider directly returning 'NA' values for R0, maybe?

@sourish-cmi
Copy link
Owner

sourish-cmi commented Apr 13, 2020 via email

@sourish-cmi
Copy link
Owner

sourish-cmi commented Apr 13, 2020 via email

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

2 participants