bold_p.fmt_uni_regression: Bold or unbold p-values for 'fmt_uni_regression' objects in...

Description Usage Arguments Examples

Description

Bold or unbold p-values for fmt_uni_regression objects in Rmarkdown

Usage

1
2
## S3 method for class 'fmt_uni_regression'
bold_p(x, t = 0.05, q = FALSE, ...)

Arguments

x

fmt_uni_regression object

t

Determines the threshold below which p-values get bolded. Default is 0.05.

q

logical argument. When TRUE will bold or unbold the q-value column rather than the p-values

...

further arguments passed to or from other methods

Examples

1
2
3
4
5
6
trial %>%
  fmt_uni_regression(
    method = "lm",
    y = "age"
  ) %>%
  bold_p(t = 0.20)

ddsjoberg/gtsummary-v0.1 documentation built on June 4, 2019, 7:48 a.m.