View source: R/length_weight.R
bins_assignment_plot | R Documentation |
Demonstration of how binned body-mass values get assigned to logarithmic size-class bins (Figure 3 of MEPS)
bins_assignment_plot(
num2 = 11,
lenBins = seq(10, 40, by = 5),
LWa = c(0.001, 0.0255),
LWb = c(3.4362, 2.7643),
col1 = c("red", "pink"),
col2 = c("blue", "lightblue"),
thick = 7,
xaxs = "i",
yaxs = "i",
mgp = c(2, 0.5, 0),
lend = "butt"
)
num2 |
Number of log2 bin breaks |
lenBins |
Example length bin breaks to use for the example body-mass bins |
LWa |
Vector of two alpha values (see MEPS equation 1), for species 1
then species 2, though only species 2 is used, just keeping consistency
with |
LWb |
Vector of two beta values (see MEPS equation 1), for species 1
then species 2, though only species 2 is used, just keeping consistency
with |
col1 |
Vector of two colours to alternate for species 1 |
col2 |
Vector of two colours to alternate for species 2 |
thick |
Thickness of bin segments |
xaxs, yaxs, mgp, lend |
standard options for |
Plots figure, default is Figure 3 of MEPS
Andrew Edwards
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.