umx_set_dollar_symbol: Set the symbol for money

umx_set_dollar_symbolR Documentation

Set the symbol for money

Description

Set umx_set_dollar_symbol (used in e.g. [fin_interest()]

Usage

umx_set_dollar_symbol(umx.dollar.symbol = NULL, silent = FALSE)

Arguments

umx.dollar.symbol

symbol for money calculations.

silent

If TRUE, no message will be printed.

Value

- Current umx.dollar.symbol

See Also

Other Get and set: umx_get_checkpoint(), umx_get_options(), umx_set_auto_plot(), umx_set_auto_run(), umx_set_checkpoint(), umx_set_condensed_slots(), umx_set_cores(), umx_set_data_variance_check(), umx_set_optimization_options(), umx_set_optimizer(), umx_set_plot_file_suffix(), umx_set_plot_format(), umx_set_plot_use_hrbrthemes(), umx_set_separator(), umx_set_silent(), umx_set_table_format(), umx

Examples

library(umx)
umx_set_dollar_symbol() # show current state
old = umx_set_dollar_symbol(silent=TRUE) # store existing value
fin_interest(100)
umx_set_dollar_symbol(old)    # reinstate

tbates/umx documentation built on April 10, 2024, 8:14 p.m.