VacuityIndex | R Documentation |
This function calculates the vacuity index, the frequency of fish which lack food in their stomach.
VacuityIndex(StomachData)
StomachData |
Object of class data frame containing stomach data. The data frame must be set up as follows. The first column should contain the specimen identifier, the second column the stomach weight. |
This function calculates the vacuity index (Hureau, 1970). This is simply the percentage of empty stomachs. The function takes a data frame of stomach data, which should be formatted as follows. The first column should contain the specimen identifier and the second column should contain the weight of the stomach contents. If users also have information on fish weight, they can calculate the Gastro-somatic index, using the function GastrosomaticIndex, which has an option to calculate the vacuity index utilizing this function.
Numeric vector of length one with the calculated vacuity index.
Samuel Borstein
Hureau J-C. 1970. Biologie comparee de quelques poissons antarctiques (Nototheniidae). Bulletin de l'Institut Oceanographique de Monaco 68:1-244.
GastrosomaticIndex
data(SebastesStomachs)#load example data
My.Vacuity <- VacuityIndex(StomachData = SebastesStomachs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.