Description Usage Arguments Examples
View source: R/morphMat-main.R
Plot method for morphMat class (size at morphometric maturity)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
x |
object of class 'morphMat' with the mature parameters and a data.frame with the allometric variables ("X", "Y") and classification of maturity. Also the fitted values for the logistic regression and confidence intervals (95%). |
xlab |
a title for the x axis. |
ylab |
a title for the y axis. |
col |
color for the logistic curve and for the L50% size at morphometric maturity. |
lwd |
line with for drawing fitted values and confidence intervals. |
lty |
line type line type for drawing fitted values and confidence intervals |
vline_hist |
color of the vertical lines in the histogram. The lines represent the the median and the confidence intervals. |
lwd_hist |
line with for the vertical line in the histogram. |
lty_hist |
line type for the vertical line in the histogram. |
onlyOgive |
plot only the ogive. |
... |
Additional arguments to the plot method. |
1 2 3 4 5 6 7 8 | data(crabdata)
classify_data = classify_mature(crabdata, varNames = c("carapace_width", "chela_height"),
varSex = "sex_category", selectSex = NULL, method = "ld")
my_mature = morph_mature(classify_data, method = "fq", niter = 50)
plot(my_mature, xlab = "Carapace width (mm.)", ylab = "Proportion mature", col = c("blue", "red"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.