[R-sig-DB] R GUI : any suggestion??

Sean Davis @d@v|@2 @end|ng |rom m@||@n|h@gov
Wed Feb 14 16:58:20 CET 2007


On Wednesday 14 February 2007 04:51, d. sarthi maheshwari wrote:
> Hi
>
> Please suggest me how to implement "Group by" function of SQL in R GUI?
>
> e.g.
>  input data.frame
> x                  y
> ============
> a                10
> b                20
> a                10
> a                10
> b                15
> b                15
> b                20
>
> In o/p i need
>
> x            y
> =========
> a           30
> b           70

See help(aggregate).

This is probably a question more appropriate for R-help, but I see where you 
are coming from.

Sean




More information about the R-sig-DB mailing list