ncsu-landscape-dynamics / rpops

PoPS (Pest or Pathogen Spread) R Package
https://ncsu-landscape-dynamics.github.io/rpops/
GNU General Public License v3.0
10 stars 5 forks source link

Update checks.R #199

Closed John-Polo closed 3 months ago

John-Polo commented 4 months ago

The current time_steps code uses ceiling() for weeks. In a leap year, that makes the number of time steps 53. I added if/else code to make leap years have same number of week for leap years.