Hi! I'm very new with RStudio, I don't know how to solve this small problem, if anyone could help it would be great, thanks!

Basically I have a numeric vector with numbers between 0 and 5. I would like to get a plot showing two histagram bars; one containing all the values of the vector smaller than 2.5 and the other one containing the values bigger than 2.5.

I've tried with ggplot, but what I get every time is a plot with one bar for each number of the vector!

Thanks in advance