Miscellaneous Helper Tools for Epidemiologists


[Up] [Top]

Documentation for package ‘epikit’ version 0.1.6

Help Pages

add_weights_cluster Add a column of cluster survey weights to a data frame.
add_weights_strata 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 simple-random or stratified survey design.
age_categories Create an age group variable
assert_positive_timespan Find the first date beyond a cutoff in several columns
attack_rate Rates and Ratios
augment_redundant Cosmetically relabel all columns that contains a certain pattern
case_fatality_rate Rates and Ratios
case_fatality_rate_df Rates and Ratios
constrain_dates Find the first date beyond a cutoff in several columns
fac_from_num create factors from numbers
find_breaks Automatically calculate breaks for a number
find_date_cause Find the first date beyond a cutoff in several columns
find_end_date Find the first date beyond a cutoff in several columns
find_start_date Find the first date beyond a cutoff in several columns
fmt_ci Helper to format confidence interval for text
fmt_ci_df Helper to format confidence interval for text
fmt_count Counts and proportions inline
fmt_pci Helper to format confidence interval for text
fmt_pci_df Helper to format confidence interval for text
gen_polygon Fake spatial data as polygons This function returns a polygon which is split in to regions based on a supplied vector of names
gen_population Generate population counts from estimated population age breakdowns.
group_age_categories Create an age group variable
merge_ci_df Unite estimates and confidence intervals
merge_pci_df Unite estimates and confidence intervals
mortality_rate Rates and Ratios
rename_redundant Cosmetically relabel all columns that contains a certain pattern
unite_ci Unite estimates and confidence intervals
zcurve Create a curve comparing observed Z-scores to the WHO standard.