R/diag_cohortBiomass.r
diag_cohortBiomass.Rd
Determine which age classes contain the most biomass and compare to neighboring age classes. A species fails the test if all biomass is contained in either the smallest or largest age class
diag_cohortBiomass(
fgs,
mortality,
agebiomind,
speciesCodes = NULL,
neusPriority,
fishedSpecies = 2
)
A character string. Path to location of functional groups file.
A character string. Path to location of Mort.txt file.
A character string. Path to location of AgeBiomIndx file.
Character vector. A vector of Atlantis species codes in which to test for persistence.
(Default = NULL, uses all species with IsTurnedOn=1
in fgs
file)
A character string. Path to location of Species Priorities file.
Numeric scalar. Filter by how much species are fished. Values = 1 (most), 2, 3, 4 (least) (Default = 2. Only species fished at level <= 2 will be returned)
Atlantis species code
Boolean indicating whether species passes test
Age class with the highes biomass
Scale defining priority of species in the model, High (H), Low(L)
Scale defining level of fishing, 1 is highest