Skip to content

Commit

Permalink
Added examples of table1_render
Browse files Browse the repository at this point in the history
  • Loading branch information
jbetz-jhu committed Sep 16, 2024
1 parent 13fe4d1 commit bdd8732
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion R/table1_render.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,25 @@
#' @export
#'
#' @examples
#' # To be added
#' table1::table1(
#' x = ~ numbers + continuous + binary + ordered +
#' binary_factor + categorical | three_level_group,
#' data = jfbr_test,
#' render = table1_render
#' )
#'
#' table1::table1(
#' x = ~ numbers + continuous + binary + ordered +
#' binary_factor + categorical | three_level_group,
#' data = jfbr_test,
#' render =
# function(...) table1_render(
#' numeric = render.continuous.default,
#' categorical = render.categorical.default,
#' ...
#' )
#' )


table1_render <-
function(
Expand Down

0 comments on commit bdd8732

Please sign in to comment.