Description Usage Arguments Value Examples
Construct a table of relative frequencies.
1 |
data |
A |
complete.obs |
A boolean value. Calculate percentages based on
complete observations for each pair of variables. Default: |
reduce |
A boolean value. For each variable pair, reduce the data to only changes before calculating the percentage table. |
A data.frame
where the last three columns break down the
relative frequency of variable X
being larger than variable
Y
, vice versa, and when X
== Y
.
1 2 | x <- data.frame(a = c(0, 0, 1, 4), b = c(1, 2, 1, 0))
ptable(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.