Skip to content

Commit

Permalink
help file examples updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsjoberg committed Jan 29, 2022
1 parent 7cb5566 commit 2632757
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/inline_text.R
Original file line number Diff line number Diff line change
Expand Up @@ -667,13 +667,15 @@ inline_text.tbl_survfit <-
#' @family tbl_cross tools
#' @export
#' @examples
#' \donttest{
#' tbl_cross <-
#' tbl_cross(trial, row = trt, col = response) %>%
#' add_p()
#'
#' inline_text(tbl_cross, row_level = "Drug A", col_level = "1")
#' inline_text(tbl_cross, row_level = "Total", col_level = "1")
#' inline_text(tbl_cross, col_level = "p.value")
#' }
inline_text.tbl_cross <-
function(x, col_level = NULL, row_level = NULL,
pvalue_fun = NULL, ...) {
Expand Down
2 changes: 2 additions & 0 deletions man/inline_text.tbl_cross.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2632757

Please sign in to comment.