Generates intensity function, function with time as sole argument.
intensity.function( summer.rate = 0, winter.rate = 1, flu = TRUE )intensity.function returns a function that takes
time as sole argument and returns value between 0 and 1,
the returned function acts as
intensity.func for input to exposure.levels.
Value bwteeen 0 and 1, the rate at which exposures occur in summer months.
Value between 0 and 1, the rate at which exposures occur in winter months.
If TRUE define winter months as flu season (Sep-May in Northern Hemisphere, Mar-Nov in Southern Hemisphere). If FALSE have constant exposure rate all year.
Rebecca Mangan and Jason Wyse