View source: R/nattswap_compare.R
nattswap_compare | R Documentation |
nattswap_compare
nattswap_compare( get_att_swap_sig_results, metric_name = "all", swapped_att, all_nrow = 1, all_ncol = NULL, font_family = NULL, yaxis = c(NA, NA), xaxis = NA, bin_num = 50 )
get_att_swap_sig_results |
Result of |
metric_name |
Character. A vector of "degree", "evc", "bet", "n_bet", "closeness", "max_cohesion", or "nestedness". Defaults to "all" which will display all metrics. |
swapped_att |
Character. Name of swapped attribute. |
all_nrow |
How many rows do you want the plot to have? |
all_ncol |
How many columns do you want the plot to have? |
font_family |
Font family to use in plots. |
yaxis |
Vector of 2 integers. Lower and upper limit of y axis. |
xaxis |
List of with element names matching plot types \(e.g. degree\). List contains length 2 vectors specifying x axis limits for plot of that type. |
bin_num |
The number of bins you want in the histograms. |
A ggplot2 plot showing real vs simulated means
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.