nattswap_compare: nattswap_compare

View source: R/nattswap_compare.R

nattswap_compareR Documentation

nattswap_compare

Description

nattswap_compare

Usage

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
)

Arguments

get_att_swap_sig_results

Result of get_att_swap_sig

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.

Value

A ggplot2 plot showing real vs simulated means


Epsian/nattswap documentation built on March 29, 2022, 4:27 a.m.