WeightedTable | R Documentation |
WeightedTable
Generalisation of the table
function in base to handle weights
WeightedTable(
...,
weights = NULL,
exclude = if (useNA == "no") c(NA, NaN),
useNA = c("no", "ifany", "always"),
dnn = list.names(...),
deparse.level = 1
)
... |
one or more objects which can be interpretated as factors, or a list or dataframe whose components can be so interpreted |
weights |
numeric vector of sampling weights |
exclude |
levels to remove for all factors in |
useNA |
whether to include |
dnn |
the names to given to the dimensions in the result |
deparse.level |
controls how the default |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.