CalcASI: Riverfly Angler's Score Index

Description Usage Arguments Details Value Note See Also Examples


The Riverfly Partnership monitoring initiative aims to address perceived declines in the abundance of target benthic macroinvertebrates (mostly river flies).


CalcASI(data, season = NULL, TL = 3L)



A dataframe containing standardised taxa with at least eight columns and in the specified order. Extra columns can be added, but they must be related to Sampling Point. See 'Details'


Optional. An integer vector containing up to 7 elements, from 1L to 7L. It is only needed when the input data frame contains Season and Year instead of Sample ID and Date. See 'Details' for more info about input columns.


An integer vector containing code 3. Which is the closest TL to include the Angler's Score Index in. 3 is the default value anyway, because this index actually is not defined in any specific TL, so it can be ignored.


The input dataframe data must contain a minimum of eight columns in the specified order: TL (Taxonomic Level), Site, Season or Sample ID, Year or Date (Date object), Maitland Code, Maitland Name, Abundance, Infered (Code returned by the function StandardiseRawTaxa which can be declared as 0 if StandardiseRawTaxa is not used).

If the data frame contains Season and Year instead of Sample ID / Date, the season parameter must be a vector of the form c(1L, 3L, 5L), indicating which seasons, and combination of seasons, must be computed.

Although there is no output TL defined for this index, a default value of 3 has been chosen to keep the same signature as similar functions in the package.

The available codes for Season and a general description of Taxonomic Levels are defined in the main help page of the aquaMetrics package.


A dataframe with the following columns: TL, Site, Season or Sample ID, Year or Date (Date object), Infered, extra columns - if any, and ASI (Angler's Score Index).


The extra columns can be used to aggregate data by different criteria, i.e., other than season or Sample ID. For doing so you must fill all season fields with a dummy value 1. Thus, the aggregation will disregard season/Sample ID as an aggregation column.

See Also



## Not run: 
#No examples yet

## End(Not run)

aquaMetrics/aquaMetrics documentation built on May 6, 2019, 7:26 a.m.