I'm digging into R and looking for a function that is equivalent to the excel somases.
I have this following DF:
Day.of.Week Hour Quantidade
5 21 5044
3 12 5024
1 11 4725
0 16 4643
1 15 4601
4 14 4566
2 20 4509
1 10 4502
3 13 4477
6 11 4449
I need it to do the equivalent of Somases
to mount something like
Hour 0 1 2 3 4 5 6
0 - - - - - - -
1 - - - - - - -
2 - - - - - - -
3 - - - - - - -
4 - - - - - - -
5 - - - - - - -
6 - - - - - - -
7 - - - - - - -
8 - - - - - - -
9 - - - - - - -
10 - - - - - - -
...
It would sum the amount according to the day of the week and the time.