association_plot | R Documentation |
Graphical and tabular summaries of association between one or two tables.
association_plot( a, b = a, n = 30, progress_bar = FALSE, verbose = FALSE, max_na = 0.9, ... ) association_table(a, b = a, progress_bar = FALSE)
a |
A data.frame of covariates. |
b |
An optional data.frame of covariates. |
n |
An integer controlling the maximum number of associations shown. |
progress_bar |
Show a progress bar when calculating associations? |
verbose |
Logical flag that controls whether the indices being tested are printed at each iteration. Useful mainly for debugging. |
max_na |
The maximum proportion of missing values in a row/column before it is removed from the plot. |
... |
Passed to internal functions. |
For information on the tests used, see associate
.
A ggplot or table showing the p-values of association between table columns.
mat <- matrix(rnorm(1000), ncol = 10) association_plot(mat) ## only the top 5 associations association_plot(mat, n = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.