Command Reference : Matrix Language Reference
  
 
@dupsobs
Syntax: @dupsobs(A1[, A2,...])
Argument 1: vector or matrix, A1
Argument 2+: (optional) vector or matrix, A2, ...
Return: vector
Returns a vector containing the number of occurrences of each row's group ID as would be assigned by @dupsid. A row containing a unique combination of values amoung vectors or matrices A1, A2, etc., will therefore have the value one, while any duplicated rows will have a value larger than one.
See also @dupsid and @dupselem.