PaulMelloy / epiphytoolR

R Package that contains functions which can be used in modelling epiphytotic risk
https://paulmelloy.github.io/epiphytoolR/
Other
2 stars 3 forks source link

AUDPC na.rm does not work #25

Closed PaulMelloy closed 6 days ago

PaulMelloy commented 1 week ago

This line prevents AUDPC na.rm from being able to be used

https://github.com/PaulMelloy/epiphytoolR/blob/bee1fde1ca23ff05c5a6b17cc74cb990a8dc96ee/R/Audpc.R#L55

i + 1 is adds an NA causing NA