default_total_label | R Documentation |
The default string used as a label for the "total" column. This value is used as the default
value for the total_label
argument throughout the teal.modules.clinical
package. If not specified
for each module by the user via the total_label
argument, or in the R environment options via
set_default_total_label()
, then "All Patients"
is used.
default_total_label()
set_default_total_label(total_label)
total_label |
( |
default_total_label
returns the current value if an R environment option has been set
for "tmc_default_total_label"
, or "All Patients"
otherwise.
set_default_total_label
has no return value.
default_total_label()
: Getter for default total column label.
set_default_total_label()
: Setter for default total column label. Sets the
option "tmc_default_total_label"
within the R environment.
# Default settings
default_total_label()
getOption("tmc_default_total_label")
# Set custom value
set_default_total_label("All Patients")
# Settings after value has been set
default_total_label()
getOption("tmc_default_total_label")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.