Weighted cross tabulation
Compute contingency tables taking into account sample weights.
a vector that can be interpreted as a factor, or a matrix or
an optional numeric vector containing sample weights.
a logical indicating whether to include extra
For each combination of the variables in
x, the weighted number of
occurence is computed as the sum of the corresponding sample weights. If
weights are not specified, the function
table is applied.
The (weighted) contingency table as an object of class
an array of integer values.
Andreas Alfons and Stefan Kraft
1 2 3 4
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.