NcontributorsHolding {GaussSuppression} | R Documentation |

`Ncontributors`

with holding-indicatorThe aggregates (columns of `x`

) are grouped by a holding indicator.
Within each holding group, the number of unique groups (output) is set to be equal.

```
NcontributorsHolding(x, groups, holdingInd = NULL)
```

`x` |
A (sparse) dummy matrix |

`groups` |
Vector of group categories |

`holdingInd` |
Vector of holding group categories |

A representative within the holding group is used to calculate output by `Ncontributors`

.
The one with maximal column sum of `x`

is chosen as the representative.
Normally this will be an aggregate representing the holding group total.
When holdingInd is NULL (default), the function is equivalent to `Ncontributors`

.

Vector of numbers of unique groups

Ã˜yvind Langsrud

[Package *GaussSuppression* version 0.6.0 Index]