With base R (ie. no libraries):
boxplot(apartamentos$Preco ~ apartamentos$Tipologia, main = "Intervalo de preços por tipologia", options(scipen = 5))
Returns:
I want to add a thousands separator to the y-axis.
I know this should be simple and I've searched the documentation, but it's really complicated and I can't find it anywhere, so thanks for helping.