I have loaded a log onto a dataframe v. You can see the output of head(v):
user_id page_id timestamp
1 139 1612783 2011-02-22 06:24:40
2 139 1612783 2011-02-22 06:28:40
3 139 1612783 2011-02-22 06:41:01
How can I qplot the number of page_id‘s per day?
- On the x-axis it would be the day (e.g.
2011-02-22). - On the y-axis it would be the number of
page_id‘s for that particular date.
This will work:
It is worth reading the ggplot manual, which has plenty of
qplotexamples, including times series.