Closed tjrocha closed 7 years ago
Thanks @tjrocha! I will take a look at this as soon as I can. 1 initial request thought: please add the zoo and xts packages to the imports section of the DESCRIPTION file in this PR.
@tjrocha Regarding the comment on names:
getMinAnnValue
, getMaxAnnVAlue
, and sumMonths2Annual
currently exist. However, they are expecting a matrix and can't really take advantage of the functions you are using. What if we added a check in those functions to see if the value being passed in is an xts ojbect and if so, use your logic, otherwise use the existing logic?
If you are ok with either of these approaches, I can go ahead and make those changes.
@tjrocha will you please cancel this PR and request a PR into the rabutler:dev
branch?
This pull request addresses issue #13.