Message-ID: <1317823590115-3874606.post@n4.nabble.com>
Date: 2011-10-05T14:06:30Z
From: behave
Subject: "stepwise" sum
dear R-Community
is there a function which sums data "stepwise"
exp:
2
1
4
5
Desired result
2 = 2
2+1 = 3
2+1+4 = 7
2+1+4+5 = 12
Is there a built in function for this?
Thx
Dom
--
View this message in context: http://r.789695.n4.nabble.com/stepwise-sum-tp3874606p3874606.html
Sent from the R help mailing list archive at Nabble.com.