Functions for applying Hmisc::label() labels to data frames
fetch_label()
Fetch a label
assign_label()
Assign a label to a column
assign_labels()
Assign labels to a data frame
Functions that compare the means/proportions of data frame columns by a grouping variable
comparison()
Compare means/proportions across a group
choose_test()
Choose the correct statistical test
Functions that create or manipulate formulas
make_formula()
Create a formula
Functions that create tables
make_table1()
Make a Table 1
tableone()
Create a Table 1
Functions that add specific columns or remove records
add_bmi()
Add BMI column
add_dindo()
Add Clavien-Dindo classification column
add_dindo_group()
Add a Dindo-Clavien Classification Group
add_postopindependent()
Add postoperatively independent column
add_preopindependent()
Add preoperatively independent column
remove_missing()
Remove records with missing values
pull_cell()
Select a cell from a dataframe given a row and a column
Utility functions that don’t fit anywhere else
get_percent()
Calculate percentage
avg()
Calculate an average
bmi()
Calculate BMI
odds_ratio()
Calculate an odds ratio
`%nin%`
Not in operator
`%>%`
Pipe operator
Various datasets used in the package
df
Elective laparoscopic cholecystectomies from NSQIP Registry
df_match
Propensity score matched elective laparoscopic cholecystectomies from NSQIP Registry