Hii, I have some insect data where I have counts insects (Sum Adults), but I don't know if they're males or females until they die and are dissected (DeadFem and DeadMale). When they are all dead, then I summed up how many there total (TotFem). I want to know how many females there are on a given date to do a fecundity calculations (#females/#eggs laid). Date SumAdults DeadFem DeadMale TotFem 18 Apr 17 0 0 0 22 Apr 14 1 2 1 25 Apr 12 2 0 3 . . and so on. The last entry in TotFem tells me how many total females I had, so then I want a variable that starts at that value and subtracts the value of DeadFem for each date.
... View more