View source: R/population_stom.R
plot.STOMdiet | R Documentation |
Plot diet data.
## S3 method for class 'STOMdiet'
plot(
d,
show_plot = TRUE,
cut_pred_size = c(1, 10),
addTitle = FALSE,
tAngle = 90,
addNstom = FALSE,
nstomAngle = 45,
Ncol = 2,
Nrow = NULL,
Strip.position = c("top", "bottom", "left", "right"),
Colours,
otherCol = "grey",
refac_prey = FALSE
)
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. |
addNstom |
Show number of stomachs sampled |
nstomAngle |
Angle number of stomachs text |
Ncol |
number of columns in facet plot |
Nrow |
number of rows in facet plot |
Strip.position |
strip.position: "top" | "bottom" | "left" | "right" |
Colours |
vector of colours for preys. |
otherCol |
Colour for "other prey" |
refac_prey |
Reorder preys |
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.