Format age categories 


Create an age group variable 

Calculate proportionsUse these functions to calculate tables of proportions using 


Rates and Ratios 
Format proportions and confidence intervals inlineUse these functions to produce inline text in Rmarkdown documents 

Helper to format confidence interval for text 

Counts and proportions inline 

Generate breaks for grouping or color scales 

Automatically calculate breaks for a number 

Generate population counts 

Generate population counts from estimated population age breakdowns. 

Find first date/cause of an event beyond a cutoff over several columnsUse these functions to find what event occured first and when (e.g. died, lost to followup, survived) 


Find the first date beyond a cutoff in several columns 
Add population weights to complex survey design data 

Add a column of stratified survey weights to a data frame. For use in surveys where you took a sample population out of a larger source population, with a simplerandom or stratified survey design. 

Add a column of cluster survey weights to a data frame. 

Plot zcurves to compare anthropometric indicators to WHO standards 

Create a curve comparing observed Zscores to the WHO standard. 

Modify column names 

Cosmetically relabel all columns that contains a certain pattern 

Unite estimates and confidence intervals 

Miscellaneous 

create factors from numbers 

Fake spatial data as polygons This function returns a polygon which is split in to regions based on a supplied vector of names 