create_rmd_table: Create table for reports

Description Usage Arguments Value

View source: R/create_rmd_table.R

Description

Create table for reports

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
create_rmd_table(
  x,
  formula,
  column_labels = NULL,
  header_labels = c(all = "N (%)", N = "Total"),
  simplify = FALSE,
  var_names = NULL,
  include_missing = TRUE,
  ...
)

Arguments

x

list of data.frames

formula

string defining formula for generating table

column_labels

string defining names of columns in output

header_labels

string defining names of columns headers

simplify

remove factor levels with no data - defaults to FALSE

var_names

character vector of labels for variables designated in formula

include_missing

include a count of missing values in output - defaults to TRUE

...

additional arguments to be passed

Value

html table with two columns


JayAchar/hisreportr documentation built on March 18, 2020, 5:57 a.m.