Temporal downscaling of entomological surveillance observations
spreader(
mydf = NULL,
date.field = NULL,
value.field = NULL,
counter.field = NULL,
seed = 123
)
A data.frame.
character, name of field containing dates.
integer, name of field containing the number of individuals sampled.
integer, name of the field containing the number of days/weeks between each sampling. This is optional, if NULL then the function will compute the value assuming the trap was active during the whole period between two consecutive samplings.
integer, define the seed for the binomial draws, default seed = 123
.
Returns a data.frame with the "adjusted value", i.e. the observation spread over the period of activity of the trap