Skip to contents

This function plots size-frequency data of a single taxon over time

Usage

plot_cohorts(
  taxaSampleListMass = NULL,
  param = c("length", "mass"),
  massClass = "afdm_mg",
  ...
)

Arguments

taxaSampleListMass

a data.frame of long format returned from convert_length_to_mass() function

param

character. A string of 'length' or 'mass' that describes what measurement should be plotted

massClass

character. The column name of the mass measurement (e.g., afdm_mg, dm_mg, etc.)

...

additional arguments passed to function

Value

returns a histogram of the plot of the relative frequency of size or mass classes for a single taxon for all sampling dates