Draws observed and theoretical rank-abundance (SAD) curves on a
log-scaled abundance axis. The input should be the combined table
returned by calculate_rank_abundance()
, which contains
one row per rank with a Source
column distinguishing
Observed vs Theoretical.
Details
The y-axis is displayed on a base-10 logarithmic scale. Lines and points
are styled by Source
(solid vs dashed; different shapes and colors).
Examples
if (FALSE) { # \dontrun{
ra <- calculate_rank_abundance(species_dist, P)
plot_rank_abundance(ra)
} # }