- glm_model_results
Results from a binomial Generalised Linear Model (GLM), as produced by stats::glm().
- conf_level
Numeric value between 0.001 and 0.999 (default = 0.95) specifying the confidence level for the confidence interval.
- output
String describing the output type (default = "tibble"). Options include "tibble" and "gt".
- output_type
String description of the output type (default = "multivariable"). Options include "multivariable" and "uni_and_multi". Selecting "multivariable" will produce a summary table of the supplied multivariable model. Selecting "uni_and_multi" will produce a summary table showing estimates of the Odds Ratio, Confidence Intervals and p-values produced using a univariable logistic regression model for each predctor along with the adjusted Odds Ratio, Confidence Intervals and p-values from the supplied multivariable model.
- confint_fast_estimate
Boolean (default = FALSE) indicating whether to use a faster estimate of the confidence interval. Note: this assumes normally distributed data, which may not be suitable for your data.
- assumption_checks
Boolean (default = TRUE) indicating whether to conduct checks to ensure that the assumptions of logistic regression are met.
- anonymise_counts
Boolean (default = FALSE) indicating whether to anonymise counts in the output table. If TRUE, counts less than 10 are suppressed and otherwise rounded to the nearest multiple of 5.
- use_model_data_only
Boolean (default = FALSE) indicating whether to use only the subset of data that was used as part of the multivariable model, or set to TRUE to use the full set of data provided to the multivariable model. Note, any records containing missing values for any of the outcome or predictor variables are automatically excluded from the multivariable model by stats::glm, so the overall number of records used in multivariable models can be much lower than the total number of records supplied to the function. Set to TRUE to increase comparability between the univariable and multivariable models, set to FALSE to gain a more holistic view of the invididual relationships between predictors and outcome.