spreader | R Documentation |
Temporal downscaling of entomological surveillance observations
spreader(
mydf = NULL,
date.field = NULL,
value.field = NULL,
counter.field = NULL,
seed = 123
)
mydf |
A data.frame. |
date.field |
character, name of field containing dates. |
value.field |
integer, name of field containing the number of individuals sampled. |
counter.field |
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. |
seed |
integer, define the seed for the binomial draws, default |
Returns a data.frame with the "adjusted value", i.e. the observation spread over the period of activity of the trap
Daniele Da Re dare.daniele@gmail.com, Giovanni Marini dare.daniele@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.