[datatable-help] Sumif

Boris05036 boris05036 at gmail.com
Sun Jan 8 20:01:52 CET 2017


Hello! I am new in R and have a task.
I have a massive, for example:
region price
1        100
2        100
1        150
3        200
2        100
1        150
3        150
and so on.

I need to make 2 tables, that describes in descending order: 1) quantity of
rows for each region, 2) sum of prices in each region



--
View this message in context: http://r.789695.n4.nabble.com/Sumif-tp4727959.html
Sent from the datatable-help mailing list archive at Nabble.com.


More information about the datatable-help mailing list