Weighted cross tabulation
Description
Compute contingency tables taking into account sample weights.
Usage
1 
Arguments
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 
Details
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.
Value
The (weighted) contingency table as an object of class table
,
an array of integer values.
Author(s)
Andreas Alfons and Stefan Kraft
See Also
table
, contingencyWt
Examples
1 2 3 4 