Create Data Frames for the Micro-Simulation of Human Populations


[Up] [Top]

Documentation for package ‘PopulateR’ version 1.13

Help Pages

ABMToCova Creates the four data frames of weighted contact pairs for use in Covasim
addemp Add employers to people in employment
addind Add a variable indicating whether the person is in education, or has left education
addnetwork Create a social network for people in a population
addschool Match school children to schools
AdultsNoID Non-partnered synthetic people
agedis Add a sex/age structure to a data frame of grouped ages
AllEmployers Employers and employees, by industry
BadRels Synthetic people restricted to an age range
createemp Create employers, each with employee counts
diffsample Sample from groups, when the sample size for each group is different
EmployerSet Synthetic employers and their employee counts
fastmatch Create couples using a weighted age group structure
fixhours Reallocates working hours between people in education and people not in education
fixrelations Provide an age structure to relationship status, estimated from age groups
GroupInfo The proportion of people in a relationship, by age band within sex
InitialDataframe People in age groups, in the Timaru District
interdiff Interpolate ages from age group medians
IntoSchools Four person households, with a school status for each person
LeftSchool School leavers
NetworkMatrix The number of contacts for 5000 person
other Match people into new households
otherNum Match people into existing households
pairbeta4 Pair two people, using a four-parameter beta distribution, into households
pairbeta4Num Pair two people, using a four-parameter beta distribution, households already exist
pairmult Create many-to-one pairs of people and place them into households
pairmultNum Create many-to-one pairs, when there are existing households
pairnorm Pair two people, using either a normal or skew-normal distribution, into households
pairnormNum Pair two people, using either a normal or skew-normal distribution, households already exist
Ppl4networks Synthetic people living in the Timaru District
RegionalStructure Sex/Age pyramid for teenagers in the Canterbury Region
SchoolsToUse Schools and their roll counts
SingleAges Sex/Age pyramid data for Timaru District
Township Simulated township
WorkingAdolescents Adolescents with a school status and employment hours