print_signsandsyptoms_flextable: Print the signs and symptoms data

Description Usage Arguments Value

View source: R/print_signsandsyptoms_flextable.R

Description

This function receives data for signs and symptoms (toxicities) and formats it appropriately. It prints the table as a kable if FLAG.flextable if FALSE or as a flextable object if FLAG.flextable is TRUE.

Usage

1
2
3
4
5
6
7
8
9
print_signsandsyptoms_flextable(
  tb,
  column_recode = NA,
  std_border = fp_border(color = "black", width = 1),
  heavy_border = fp_border(color = "black", width = 2),
  bg_colour = "lightgrey",
  highlight_colour.level1 = "#F9E79F",
  highlight_colour.level2 = "#F5B7B1"
)

Arguments

tb

the data as a tibble

column_recode

optional named list for renaming columns

std_border

optional standard border definition for header (flextable only)

heavy_border

optional heavy border definition for header (flextable only)

bg_colour

optional background colour definition for header (flextable only)

highlight_colour.level1

optional background colour definition for highlight level 1 (flextable only)

highlight_colour.level2

optional background colour definition for highlight level 2 (flextable only)

Value

Table object to print


LisaHopcroft/CTutils documentation built on Oct. 7, 2021, 11:08 p.m.