Description Usage Arguments Details Value Author(s) Examples
ggplot of species rank by abundance, with one line per level of a grouping variable.
1 | ra.plot(ra.df, mycolours)
|
ra.df |
List of dataframes containing rank abundances. |
mycolours |
Optional list of colours for the lines. |
ra.df is the result of [spec.ranks()] or a similar list of data frames containing rank abundance data. The names of the data frames in the list are taken to be the names of the groups to be plotted. If ra.df was generated using [spec.ranks()], these will be the levels of the grouping variable gv. mycolours is an optional list the same length as the number of dataframes in ra.df, i.e. levels in the grouping variable. Defaults to a [viridis()] pallete with a different colour for each group.
A ggplot of rank abundances with one line for each dataframe in the list, i.e. level of the grouping variable. y-axis (abundance) is plotted on pseudo-log scale with fixed breakpoints. Most aspects of the plot can be customised by adding elements in the usual ggplot manner.
Tamara Hartke
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.