Description Usage Arguments Details Note Examples
Compute proportions, percents, or counts for a single level
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
x |
an R object, usually a formula |
data |
a data frame in which |
useNA |
an indication of how NA's should be handled. By default, they are ignored. |
... |
arguments passed through to |
success |
the level for which counts, proportions or percents are calculated |
level |
Deprecated. Use |
long.names |
a logical indicating whether long names should be when there is a conditioning variable |
sep |
a character used to separate portions of long names |
format |
one of |
quiet |
a logical indicating whether messages regarding the success level should be supressed. |
pval.adjust |
a logical indicating whether the "p-value" adjustment should be applied. This adjustment adds 1 to the numerator and denominator counts. |
prop1
is intended for the computation of p-values from randomization
distributions and differs from prop
only in its default value of
pval.adjust
.
For 0-1 data, success
is set to 1 by default since that a standard
coding scheme for success and failure.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.