Posts by Victor Oliveira • 33 points
1 post
-
3
votes2
answers1414
viewsQ: In R, how to calculate the average of one column based on another?
I have the following table XLSX: I need to calculate the SP500 column average for each year. I did it with 'Mean(namedabela$SP500)' and found the total average. Now I need the average for each year.…
rasked Victor Oliveira 33