This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Interface unification with epinow2()
wrapper function?
#191
Labels
You can continue the conversation there. Go to discussion →
epinow2()
wrapper function?
#191
Both
epinow()
andepinow_regional()
take common arguments, except for theregion
column in thereported_cases
and the two extraepinow_regional()
's arguments (non_zero_points
andsummary_args
) that can be ignored byepinow()
. So, it's probably better to define a wrapper function for both and decide which one to call based onreported_cases$region
. Here's an initial version I'm currently using:Note that
local_epinow2
can be dropped (i.e., callingepinow()
directly) ifepinow
acceptsnon_zero_points
andsummary_args
, regardless if it'll ignore or use them.Ideally, all documents would refer to the new
epinow2()
function while exporting the current functions for compatibility.The text was updated successfully, but these errors were encountered: