A tibble with ASF local spread transmission probability tiers has been saved under /inst/extdata/local_spread_probabilities_ASF_Halasa_et_al_2016.Rdata.
It would be nice to have this as default value for the argument local_spread_transmission_probabilities in data2contactmatrix().
HOWEVER: as holding_data is optional & has default NULL, local_spread_transmission_probabilities should also have default NULL (as this argument is only relevant in case holding_data is actually provided).
Is there any way around this? Or should we just point to the example data elsewhere in function documentation (details/examples)?
A tibble with ASF local spread transmission probability tiers has been saved under
/inst/extdata/local_spread_probabilities_ASF_Halasa_et_al_2016.Rdata.It would be nice to have this as default value for the argument
local_spread_transmission_probabilitiesin data2contactmatrix().HOWEVER: as
holding_datais optional & has defaultNULL,local_spread_transmission_probabilitiesshould also have defaultNULL(as this argument is only relevant in caseholding_datais actually provided).Is there any way around this? Or should we just point to the example data elsewhere in function documentation (details/examples)?