This is a wrapper around brformat.
Reais(x, prefix = "R$", ...) reais(...)
x | a real number |
---|---|
prefix | currency units. Defaults for brazilian reais. |
... | further arguments to be passed to brformat. |
text in Reais.
Reais(100)#> [1] "R$100,00"library(ggplot2) p <- ggplot(centro_2015@data, aes(x = area_total, y = valor)) + geom_point(na.rm = TRUE)#> Error in ggplot(centro_2015@data, aes(x = area_total, y = valor)): trying to get slot "data" from an object (class "sf") that is not an S4 object#> Error in eval(expr, envir, enclos): object 'p' not found