The 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.
Arguments
- na_str
(
string)
Single string value to set in the R environment options as the default value to replaceNAs. UsegetOption("tern_default_na_str")to check the current value set in the R environment (defaults toNULLif not set).
Value
default_na_strreturns the current value if an R environment option has been set for"tern_default_na_str", orNA_character_otherwise.
set_default_na_strhas no return value.
