View source: R/population_stom.R
plotSize | R Documentation |
Plot diet data with prey size.
plotSize(
d,
show_plot = TRUE,
cut_pred_size = c(1, 10),
addTitle = FALSE,
tAngle = 90,
Colours,
otherCol = "grey",
refac_prey = FALSE,
byVar = c("year-quarter", "year", "quarter", "none")
)
d |
Diet data set of class STOMdiet. |
show_plot |
Show the resulting graphs on screen (or save the results for later processing) |
cut_pred_size |
From to in substring of predator size |
addTitle |
Add predator name on top of the plot. |
tAngle |
Angle X-axis text. |
Colours |
vector of colours for preys. |
otherCol |
Colour for "other prey" |
refac_prey |
Reorder preys |
byVar |
Make individual plots by combinations of 'year-quarter','year' or'quarter' or lump all data together ('none'). |
nothing (if show_plot=TRUE) or a list of plots.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.