All-in-one functionsSingle functions to generate final output tables |
|
---|---|
Final output tables for common regression models |
|
Permuate explanatory variables to produce multiple output tables for common regression models |
|
Summarise a set of factors (or continuous variables) by a dependent variable |
|
Summarise a set of factors (or continuous variables) by a dependent variable |
|
Model wrappersWrappers for common statistical models |
|
Linear regression univariable models: |
|
Linear regression multivariable models: |
|
Mixed effects linear regression models: |
|
Binomial logistic regression univariable models: |
|
Binomial logistic regression multivariable models: |
|
Binomial logistic regression multivariable models with bootstrapped
confidence intervals: |
|
Mixed effects binomial logistic regression models: |
|
Cox proprotional hazards univariable models: |
|
Cox proprotional hazards multivariable models: |
|
Competing risks univariable regression: |
|
Competing risks multivariable regression: |
|
Univariable survey-weighted generalised linear models |
|
Multivariable survey-weighted generalised linear models |
|
Bootstrap functionsBootstrap simulation for model prediction |
|
Bootstrap simulation for model prediction |
|
Compare bootstrapped distributions |
|
Generate newdata for simulations |
|
Summarise with mode and mean/median and expand given factors |
|
Helper functions |
|
Extract model fit results to dataframe (generic): |
|
Add column totals to |
|
Add row totals to |
|
Generate formula as character string |
|
Descriptive statistics for dataframe |
|
Make an interaction variable and add to dataframe |
|
Return the most frequent level in a factor |
|
Label a variable |
|
Merge a |
|
Generate common metrics for regression model results |
|
Include only percentages for factors in |
|
Parse a formula to finalfit grammar |
|
Relabel variables in a data frame |
|
Relabel variables from data frame after tidyverse functions |
|
Remove regression reference level row from table |
|
Remove p-value from output |
|
Help making stratified summary_factorlist tables |
|
Check accurate recoding of variables |
|
Make a label for the dependent variable |
|
Extract variable labels from dataframe |
|
Format n and percent as a character |
|
Labels to column names |
|
Labels to level |
|
Round p-values but keep trailing zeros |
|
Remove duplicates and replace |
|
Remove rows where all specified variables are missing |
|
Round values but keep trailing zeros |
|
Summarise with mode for factors and mean/median for numeric variables |
|
Plotting |
|
Produce an odds ratio table and plot |
|
Produce a hazard ratio table and plot |
|
Produce a coefficient table and plot |
|
Produce a table and plot |
|
Plot survival curves with number-at-risk table |
|
Missing values occurrence plot |
|
Missing values pairs plot |
|
Missing data functions |
|
Summary of missing values |
|
Characterise missing data for |
|
Compare missing data |
|
Missing values pairs plot |
|
Missing values occurrence plot |
|
Create predictorMatrix for use with mice |
|
Metrics |
|
Hosmer-Lemeshow goodness of fit test |
|
DataSample data for examples and testing |
|
Chemotherapy for Stage B/C colon cancer |
|
Western Collaborative Group Study |
|
Misc |
|
finalfit: Quickly create elegant final results tables and plots when modelling. |