acond | R Documentation |
Transform a frequency table into relative frequencies relative to a margin.
acond(x, MARGIN = NULL, total.margins = TRUE, all.label = "All")
aprop(x, MARGIN = NULL, total.margins = TRUE, all.label = "All")
x |
a table |
MARGIN |
on which to condition |
all.label |
label for marginal distribution |
total.margin |
logical whether to include a total margin (default TRUE) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.