All functions

ci_diff_means()

Confidence interval for difference in means

clear_console()

Clear the console

clear_dataframes()

removes data frames from global environment

clear_vectors()

removes vectors from global environment

nice_diff_means()

Difference in means

nice_estimate()

Formats estimates and 95% confidence intervals for nice printing.

nice_govuk_date()

Formats dates to gov.uk requirements

nice_inline_r()

Allows user to write examples of inline R code.

nice_load()

A function to load a single object from an R data file

nice_median()

nice_median

nice_month_string()

nice_month_factor

nice_names()

Format column names into standard format.

nice_pc_change()

Easily calculate a percentage change

nice_perc()

Nicely formats percentages for printing

nice_pval()

Formats p values for nice printing

nice_risk_difference()

nice_risk_difference

nice_rr()

nice_rr

nice_rversionstring()

nice_rversionstring

nice_sampsi_cc()

calculate sample size

nice_year()

Nicely print a year in a given format

nowt()

nowt

pipe_nice_names()

Format variable names into standard format in a pipe.

rate_confint()

Confidence interval for a rate calculation

rate_difference()

Confidence interval for a rate difference

se_diff_means()

Standard error for difference in means

smokers

Hypothetical data set from a cohort study examining the association between smoking and lung cancer

solid

SOLID Study (Anthropometry and Blood Pressure)

up_or_down()

Calculate whether there has been either an increase, decrease or no change between two values

yaml_today()

yaml_today