I am SUPER new to R.
I am trying to re-order the tick marks on my y-axis on a graph I created. Is there anyone who can tell me how to re-arrange/pick the order in which they line up? They labels are just elements from the "wheel_spot" vector. What I'm trying to show is how many of the dots on my graph fall in each category, but my graph will make more sense if the labels flow in a particular order.
Here's the graph right now:
My code is:
graph <- ggplot(data=new_data, aes(x=bucket,y=wheel_spot, color=identifier)) + geom_jitter() + facet_grid(bucket~.)
graph
Thank you in advance!