This function is only a wrapper around format function that uses standard brazillian formats by default

brformat(
  x,
  decimal.mark = ",",
  big.mark = ".",
  digits = 2,
  nsmall = 2,
  scientific = FALSE,
  ...
)

brf(
  x,
  decimal.mark = ",",
  big.mark = ".",
  digits = 2,
  nsmall = 2,
  scientific = FALSE,
  ...
)

Arguments

x

a number to be formatted by format

decimal.mark

used for prettying (longish) numerical and complex sequences. Passed to prettyNum: that help page explains the details.

big.mark

used for prettying (longish) numerical and complex sequences. Passed to prettyNum: that help page explains the details.

digits

how many significant digits are to be used for numeric and complex x. The default, NULL, uses getOption("digits"). This is a suggestion: enough decimal places will be used so that the smallest (in magnitude) number has this many significant digits, and also to satisfy nsmall. (For the interpretation for complex numbers see signif.)

nsmall

the minimum number of digits to the right of the decimal point in formatting real/complex numbers in non-scientific formats. Allowed values are 0 <= nsmall <= 20.

scientific

Either a logical specifying whether elements of a real or complex vector should be encoded in scientific format, or an integer penalty (see options("scipen")). Missing values correspond to the current default penalty.

...

further arguments passed to or from other methods.