I have a table which looks like this:

  ACC        BAL
1 hal -171245.33
2 opn  -50487.63
3 pga  213440.38
4 prt       0.18
5 rbs    8292.54

How do I create a column which shows the running totals of the BAL columns?

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to