Renders the number of individuals in each category, but only on timesteps that correspond to a day. This saves memory and potentially time for simulations with small timesteps.

categorical_count_renderer_process_daily(renderer, variable, categories, dt)

Arguments

renderer

a Render object

variable

a CategoricalVariable object

categories

a character vector of categories to render

dt

size of time step

Value

a function which can be passed as a process to simulation_loop