Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

LFD

Length Frequency Distribution


Description

The function estimates for the selected sex the time series of the length frecency distribution (LFD)

Usage

LFD(merge_TATC, indices, sex, LC, depth_range, type)

Arguments

merge_TATC

data frame cantaining the hauls data (TA, table A) and the biological data (TC, table C) merged together

indices

data frame with the time series of the abundance indices as estimated by the function index.ts()

sex

string code of the selected sex. Permitted values: "c" (sex combined), "f" (females), and "m" (males).

LC

numerical value of the minimum length class interval (expressed in mm)

depth_range

vector of the depth range for the analysis

type

string value to select the type of graph to be plotted. Allowed values: "indices", "density" and "boxplot"

Value

the function returns a data frame in which the first column is the list of the lenght classes reported in the TC file and in the other columns are reported the abundance indices (n/km2) for each year of the time series by length class.

Author(s)

Walter Zupa

Examples

library(MEDITS)
merge_TATB <-  m.TATB(TA,TB,"ARISFOL")
merge_TATC <-  m.TATC(TA,TC,"ARISFOL")
GSA <- unique(TA$AREA)
indices <- index.ts(merge_TATB,GSA,"ARISFOL",index = "abundance",
depth_range=c(200,800),sex="f", sampling = "RSS",plot=FALSE)
LFD(merge_TATC,indices,sex="f",LC=1,depth_range=c(200,800), type = "indices")

MEDITS

Analysis of MEDITS-Like Survey Data

v0.1.7
GPL-3
Authors
Walter Zupa, Loredana Casciaro, Isabella Bitetto, Maria Teresa Spedicato
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.