Each sampled unit contributes its design weight to the cell it falls in, so a cell total estimates the population count. With unit weights the totals are exactly the ordinary contingency counts.
Examples
Wfrep(c(1, 1, 2, 3, 3, 3))
#> $estimate
#> [1] 3
#>
#> $levels
#> [1] "1" "2" "3"
#>
#> $freq
#> [1] 2 1 3
#>
#> $prop
#> [1] 0.3333333 0.1666667 0.5000000
#>
#> $sumw
#> [1] 6
#>
#> $n
#> [1] 6
#>
#> $k
#> [1] 3
#>
#> $method
#> [1] "weighted cell frequencies, f_k = sum_{i in k} w_i [Lohr 2010]"
#>
