[R] how to sort and plot data?

Dieter Menne dieter.menne at menne-biomed.de
Fri Apr 3 10:12:14 CEST 2009




Hem wrote:
> 
> user_id  website          time
> 20        google            0930
> 21        yahoo            0935
> 20        facebook        1000
> 25        facebook        1015
> 61        google            0940
> ...
> My problem is how to sort the data? So that, I can get information about
> one
> user_id viewed how many website perday?
> 
> 

Maybe you were looking at the wrong item, because what you want is not
sorting, but a table.

Check the documentation of table or ftable.

Dieter

-- 
View this message in context: http://www.nabble.com/how-to-sort-and-plot-data--tp22861661p22863918.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list