tidycmprsk icon indicating copy to clipboard operation
tidycmprsk copied to clipboard

Add a `gtsummary::tbl_regression.tidycrr()` method

Open ddsjoberg opened this issue 1 year ago • 1 comments

This method is currently exported by gtsummary. But we can just maintain it from here.

ddsjoberg avatar May 17 '24 17:05 ddsjoberg

The entire function just looks like this:

#' @export
#' @rdname tbl_regression_methods
tbl_regression.tidycrr <- function(x, tidy_fun = tidycmprsk::tidy, ...) {
  tbl_regression.default(x = x, tidy_fun = tidy_fun, ...)
}

A simple change to the default tidier.

ddsjoberg avatar May 17 '24 17:05 ddsjoberg