knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" ) library(sizeMat)
Estimate Size at Sexual Maturity
This package allows to estimate Size at Morphometric and Gonadal Maturity for organisms, usually fish and invertebrates.
The estimation of morphometric maturity used two allometric variables and is based on the relative growth.
The estimation of gonadal maturity used one allometric variable and the stage of sexual maturity (gonad maturation stage).
Get the released version from CRAN:
install.packages("sizeMat")
Or the development version from github:
# install.packages("devtools") devtools::install_github("ejosymart/sizeMat")
This is a basic example which shows you how to estimate Size at Morphometric and Gonad Maturity:
data(crabdata) classify_data = classify_mature(crabdata, varNames = c("carapace_width", "chela_height"), varSex = "sex_category", selectSex = NULL, method = "ld") print(classify_data) my_ogive = morph_mature(classify_data, method = "fq") print(my_ogive)
data(matFish) my_ogive = gonad_mature(matFish, varNames = c("total_length", "stage_mat"), inmName = "I", matName = c("II", "III", "IV"), method = "fq", niter = 999) print(my_ogive)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.