# Individual Based Model Population Simulation

## Documentation for package ‘IBMPopSim’ version 0.4.3

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

age_pyramid | Age pyramid from a population data frame at a given time.
age_pyramids | Age pyramid from a population data frame at some given times.
check_intensity_code | Check the intensity code.
check_interaction_code | Check the interaction code.
check_kernel_code | Check the kernel code.
death_table | Death table
EWdata_hmd | England and Wale mortality data (source: Human Mortality Database)
EW_popIMD_14 | England and Wales (EW) 2014 population and death rates by Index of Multiple Deprivation (IMD).
EW_pop_14 | England and Wales (EW) 2014 population, death and birth rates.
EW_pop_out | Example of "human population" after 100 years of simulation.
exposure_table | Exposure table
get_characteristics | Returns names and C types of the characteristics.
gompertz | Gompertz–Makeham intensity function.
linfun | Linear interpolation function.
max.stepfun | Returns the maximum of a function of class 'stepfun'.
merge_pop_withid | A function returning a merged dataframe from a list of population dataframes with id.
mk_event_individual | Creates an event with intensity of class individual.
mk_event_inhomogeneous_poisson | Creates inhomogeneous Poisson class event.
mk_event_interaction | Creates an event with intensity of type interaction.
mk_event_poisson | Creates Poisson class event.
mk_model | Creates a model for IBMPopSim.
piecewise_x | Piecewise real function.
piecewise_xy | Piecewise real function of two variables.
plot_population | Plot the age pyramid of a population data frame (at a given time).
plot_pyramid | Plot an age pyramid from age pyramid data frame.
popsample | Sample a population from an age pyramid (at a given time).
popsim | Simulation of a model.
population_alive | Returns a population of individuals alive.
stepfun | Step Function.
summary.event | Summary of an event.
summary.model | Summary of a model.
toy_params | Toy parameters for IBMPopSim-human_popIMD vignette example.
weibull | Weibull function.