Command Reference : Function Reference : Function Reference: R
  
 
@rvalcount
Number of matching values in rows.
Syntax: @rvalcount(x, v)
x: group
v: number, series
Return: series
The number of observations with a value equal to v in each row of the group.
Examples
show @rvalcount(g, 1)
returns a linked series of counts of the number 1 in the rows of group g.
Cross-references
See also @rnas and @robs.