plot_degree_and_abundance_dists_for_node_graph: Plot degree and abundance distributions for node graph

plot_degree_and_abundance_dists_for_node_graphR Documentation

Plot degree and abundance distributions for node graph

Description

Plot the final degree distribution for the node graph, which is essentially the distribution of number of species per planning unit. Similarly, plot number of planning units for each species, sorted in decreasing order of number of planning units.

Usage

plot_degree_and_abundance_dists_for_node_graph(
  final_link_counts_for_each_node,
  final_rank_abundance_dist,
  PU_col_name,
  plot_output_dir,
  cor_or_app_label,
  spp_col_name
)

Arguments

final_link_counts_for_each_node

integer vector of counts of number of links for each node, i.e., number of species for each planning unit

final_rank_abundance_dist

integer vector of counts of number of nodes for each link, i.e., number of planning units for each species (same as final_node_counts_for_each_link)

PU_col_name

character string giving planning unit column name in data frames

plot_output_dir

character string giving pat to directory where plot should be written

cor_or_app_label

character string for labelling as Correct or Apparent

spp_col_name

character string giving species column name in data frames

Value

Doesn't return anything


langfob/bdpg documentation built on Dec. 8, 2022, 5:33 a.m.