Skip to content
Prev 173699 / 398503 Next

Question on summing rows within nested variable

If you want zero if only one variable:
sid pid slope
1 1.1 1.1     2
2 1.1 4.1     3
3 1.1 5.1     2
4 2.1 5.1     3
5 3.2 1.2     2
6 3.2 1.7     3
1.1      2.1      3.2
2.333333 0.000000 2.500000
On Fri, Mar 13, 2009 at 6:43 PM, Vedula, Satyanarayana
<svedula at jhsph.edu> wrote: