CLF.lm.fit: Fits linear models for each year for a community length...

Description Usage Arguments Value

View source: R/post.analyses.plotting.r

Description

this treats missing abundance values as missing while they may be real zeros. Calculate linear models from the CCF data object filling in the real zeros if you would like it done otherwise. Chances are that for multispecies size spectra, you will always have non-zero abundance values for each length class if you chose length classes that are somewhat well sampled by the gear. The value of this kind of analysis of lm model parameters is questionable anyway if you are choosing a rather restricted subset of species for analysis whos sizes do not cover the length selection length range you have chosen and/or which are not well sampled by the gear.

Usage

1
CLF.lm.fit(CLF.object, min.len = 0, max.len = 10^6)

Arguments

CLF.object

the list resulting from running the function CLF.f on the survey dataset

min.len

the minimum length to consider in the plot and for the linear model trend

max.len

the maximum length to consider in the plot and for the linear model trend

Value

a list where the first element is a dataframe of ab model parameters for each year. Minimum and maximum length considered in the model fits are also elements of the list. The outputs a "CLFab" class object.


duplisea/size documentation built on Sept. 11, 2019, 11:05 a.m.