Command Reference
:
Function Reference
:
Function Reference: R
@rsum
By-Row Statistics
Row sums.
Sum across series in each row of the group.
Syntax:
@rsum
(
x
)
x
: group
Return: series
For each observation
corresponding to a row
in the group of
series, compute the sum of the values,
Examples
show @rsum(g
returns a linked series of the sums of observations in the rows of group
g
.
Cross-references
See also
@rprod
and
@rsumsq
.