Compute contingency tables taking into account sample weights.
1 
x 
a vector that can be interpreted as a factor, or a matrix or

weights 
an optional numeric vector containing sample weights. 
useNA 
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 table
,
an array of integer values.
Andreas Alfons and Stefan Kraft
1 2 3 4 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.