I am trying to create a plot of user login behavior for a two month period. I used the qplot
function from the ggplot2
package, and with the following code
qplot(date_time, login_count, data=client_login_clean)
I plotted login_count
over time as shown below. Unfortunately, the y-axis, num_records
is sorted such that the first five tick marks on the y-axis are 1, 10, 106, 11, and 12, rather than 1, 2, 3, 4, 5. Could someone let me know how to fix this?