I have csv file with many columns first column of the csv is user_id. Other columns are realted to different actions that user has taken. I want to plot two columns from this csv file on one ggplot with lines.
userid    Action1TakenTimes Action2TakenTimes
1                    0             4
2                    6             4
3                    0             1
4                    8            23
5                    4             3
6                    1             1
I have converted the csv file to R data table and did the simple plot but I want do a ggplot with a smooth lines connecting the points.
plot(log(mytable.data$Action1TakenTimes))
plot(log(mytable.data$Action2TakenTimes))
I went over following tutorial but couldn't find a similar example: http://www.ceb-institute.org/bbs/wp-content/uploads/2011/09/handout_ggplot2.pdf
 
    
