fmt_beta.Rd
Takes in a vector of regression model coefficients, and returns a
rounded and formatted coefficient vector. This is the default
rounding for models formatted with fmt_regression()
. Coefficients
larger than 100 are rounded to the nearest integer, between 10 and 100 to one
decimal place, and all others to 2 decimal places. These thresholds were
selected with odds ratios and hazard ratios in mind.
fmt_beta(x)
x | numeric vector |
---|
#> [1] "100" "11.2" "5.32" "1.23" "0.23"