I am new to this forum :)
Here is the first row year | boys | girls | total | prop of boys :-------- :-------- : -------- : -------- 1 |1940 | 1211684 | 1148715 |2360399 | ?
I want to calculate the proportion of boys out of the total for each row and plot the boy's proportion overtime. secondly, I also want to calculate boy to girl ratio each year. How to do this. I am quite new to r, and I am not able to find the commands for this basic calculations.I am sure that many people here in this wonderful place can have an answer to my question. Any help will be greatly appreciated....Thank you very much