View source: R/utils_rtables.R
default_na_str | R Documentation |
NA
valuesThe default string used to represent NA
values. This value is used as the default
value for the na_str
argument throughout the tern
package, and printed in place
of NA
values in output tables. If not specified for each tern
function by the user
via the na_str
argument, or in the R environment options via set_default_na_str()
,
then NA
is used.
default_na_str()
set_default_na_str(na_str)
na_str |
( |
default_na_str
returns the current value if an R environment option has been set
for "tern_default_na_str"
, or NA_character_
otherwise.
set_default_na_str
has no return value.
default_na_str()
: Accessor for default NA
value replacement string.
set_default_na_str()
: Setter for default NA
value replacement string. Sets the
option "tern_default_na_str"
within the R environment.
# Default settings
default_na_str()
getOption("tern_default_na_str")
# Set custom value
set_default_na_str("<Missing>")
# Settings after value has been set
default_na_str()
getOption("tern_default_na_str")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.