[datatable-help] datatable-help Digest, Vol 92, Issue 6
Serdar Akin
serdar.akin76 at gmail.com
Mon Oct 16 18:41:40 CEST 2017
How about
DT[, .N , by = .(student_fee)]
mån 16 okt. 2017 kl. 12:00 skrev <
datatable-help-request at lists.r-forge.r-project.org>:
> Send datatable-help mailing list submissions to
> datatable-help at lists.r-forge.r-project.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
>
> or, via email, send a message with subject or body 'help' to
> datatable-help-request at lists.r-forge.r-project.org
>
> You can reach the person managing the list at
> datatable-help-owner at lists.r-forge.r-project.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of datatable-help digest..."
>
>
> Today's Topics:
>
> 1. how to grouping of data in R (memonsalim2008)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 16 Oct 2017 01:34:10 -0700 (MST)
> From: memonsalim2008 <memonsalim2008 at yahoo.co.in>
> To: datatable-help at lists.r-forge.r-project.org
> Subject: [datatable-help] how to grouping of data in R
> Message-ID: <1508142850217-0.post at n4.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi All,
>
> is it possible in R groping of data ?Please check blow example.
>
>
> student_id Fee
> 5555 1200
> 5555 1200
> 1111 1200
> 6666 1500
> 6666 1500
> 6666 1000
> 7777 1000
> 8888 1000
> 8888 1000
> 8888 1000
> 8888 1000
>
> output of will be
>
> student_id count
> 5555 2
> 1111 1
> 6666 3
> 7777 1
> 8888 4
>
>
>
>
>
> --
> Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html
>
>
> ------------------------------
>
> _______________________________________________
> datatable-help mailing list
> datatable-help at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
>
> End of datatable-help Digest, Vol 92, Issue 6
> *********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20171016/b54b6ddf/attachment.html>
More information about the datatable-help
mailing list