gtreg icon indicating copy to clipboard operation
gtreg copied to clipboard

`inline_text()` method for `tbl_reg_summary()`?

Open ddsjoberg opened this issue 2 years ago • 2 comments

These tables are simple modifications of gtsummary::tbl_summary() tables, which already have a method. BUT, I don't think you can import and export a method (but you can with the generic).

  • We could just document somewhere that gtsummary::inline_text.tbl_summary() works with tbl_reg_summary() tables.
  • We could define a new method inline_text.tbl_reg_summary <- function(...) gtsummary::inline_text.tbl_summary(...)

What do you think @shannonpileggi ?

ddsjoberg avatar Jun 27 '22 01:06 ddsjoberg

Let's just go with the 1st option to document

ddsjoberg avatar Jun 27 '22 18:06 ddsjoberg

Link to vignette in gtsummary.

shannonpileggi avatar Sep 13 '22 14:09 shannonpileggi