-1

This is my working environment right now

What should I add to my code to remove those mixed numbers -or they're just decimals, it confuses me-written in bars and label them with integers instead?

Thank you

Community
  • 1
  • 1
Ipek
  • 23
  • 5
  • 2
    What about [`round(x, 0)`](https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/Round) or `trunc(x, …)`? – Borexino May 03 '20 at 18:09
  • You have two `geom_text` calls that are overplotting each other... – Axeman May 03 '20 at 18:38
  • It's easier to help you if you include a simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) with sample input and desired output that can be used to test and verify possible solutions. – MrFlick May 03 '20 at 22:00

1 Answers1

0

You can use the round() function: round(x, digits = 0)

Falco
  • 183
  • 2
  • 16