Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bucks

Print a money object


Description

Print function for "money" objects, e.g. fin_interest().

Usage

bucks(
  x,
  symbol = "$",
  big.mark = ",",
  decimal.mark = ".",
  trim = TRUE,
  largest_with_cents = 1e+05,
  negative_parens = FALSE,
  ...
)

Arguments

x

money object.

symbol

Default prefix if not set.

big.mark

option defaulting to ","

decimal.mark

option defaulting to "."

trim

option defaulting to TRUE

largest_with_cents

option defaulting to 1e+05

negative_parens

option defaulting to FALSE

...

further arguments passed to or from other methods. also cat =F to return string

Value

  • invisible

See Also

Examples

bucks(100 * 1.05^32)
fin_interest(deposits = 20e3, interest = 0.07, yrs = 20)

umx

Structural Equation Modeling and Twin Modeling in R

v4.10.10
GPL-3
Authors
Timothy C. Bates [aut, cre] (<https://orcid.org/0000-0002-1153-9007>), Gillespie Nathan [wit], Michael Zakharin [wit], Brenton Wiernik [ctb], Joshua N. Pritikin [ctb], Michael C. Neale [ctb], Hermine Maes [ctb]
Initial release
2021-11-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.