This is a wrapper around broom:::tidy that adds formatted confidence intervals and p values

format_tidy_gen(rslt, d = 2, d_pVal = 3, sub_out = NULL, sub_in = NULL,
  exponentiate_here = FALSE, Beta = "Beta", reportIntercept = FALSE)

Arguments

rslt

Output from regression (lm, glm, or coxPH)

d

Decimal places used for HR and confidence interval

d_pVal

Decimal places used for p value.

sub_out

String to from variable names to replace with sub_in

sub_in

String to from variable names to replace instead of sub_out

exponentiate_here

Select whether exponentiation should be done (CoxPH, Poisson, etc.). Default is FALSE

Beta

Label for coefficient. Default is 'Beta'

reportIntercept

Whether intercept should be reported. Default is FALSE.

Examples

dontrun{ format_tidy_gen() }
#> Error: <text>:1:8: unexpected '{' #> 1: dontrun{ #> ^