Description Usage Arguments Details Value Note Author(s) References See Also Examples
Calculate SPEAR values
1 2 3 |
x |
data.frame; data.frame with abundances in the long format. |
taxa |
character; name of column in x, which holdes the taxon-names. |
abundance |
character string: columnname of abundances |
group |
character-vector; names of columns for groupings. |
region |
character; default is set to 'Eurasia', which covers trait-data for Finland, United Kingdom, West Siberia and Central Europe. 'Finland', 'United Kingdom', 'West Siberia' are also allowed and traits may vary between different regions. |
traits |
NULL or data.frame; If 'NULL' (default)
then it is checked if there is a file 'traits.csv' in the
working directory and if this file is up-to-date with the
database, see |
sensitivity |
numeric; sensitivity-threshold, default '-0.36' |
generationTime |
numeric; Generation Time threshold, default '0.5' |
exposed |
logical; either '1' (exposed) or '0' (not exposed), default '1' |
migration |
logical; either '1' (migration) '0' (no migration), default '0' |
... |
additional arguments passed to get_traits.
Currently only 'check' is available. By default the file
is checked if up-to-date. See |
The SPEAR index is based on binary classification of species (or other taxonomic categories) into 'species at risk' and 'species not at risk' according to the following biological traits:
physiological sensitivity to organic toxicant
generation time
presence of aquatic stages in water during the maximum pesticide usage period
migration abilities.
A taxon is classified as a 'SPEcies At Risk' only if it has: (i) Sorganic value >-0.36, (ii) generation time >= 0.5 year, aquatic stages (eggs, larvae, pupae) during the periods of intensive pesticide usage, and (iv) low migration abilities.
The SPEARpesticides index is computed as relative abundance of these taxa for each site and date as follows:
SPEAR = ∑ log10(x[i] + 1) * y / ∑ log10(x[i] + 1)
where x[i] is the abundance of the taxon i and y is 1 if taxon i is classified as 'at risk', otherwise 0.
For further details about SPEARpesticides see References.
A list of two data.frames:
spear |
data.frame; SPEAR-values for every combination of the grouping variables. |
traits |
a data.frame with the following columns: |
region, exposed, generationTime, sensitivity,
migration |
species traits used to classify species into SPEAR. |
SPEAR |
Classification of species into SPEAR. |
taxa_data |
taxon names as in x. |
taxa_matched |
matched taxon-names in traits-database. |
match_val |
goodnes of match. '-1' indicates a direct match, 'NA' indicates a failed match. Values betweenn 0 and 0.5 indicate an approximate match (smaller values - better match). |
Threshold-values for classification into SPEAR should only be changed if there is strong indication that they are different than these defaults!
Eduard Szoecs eduardszoecs@gmail.com
Liess M, Von der Ohe P, 2005. Analyzing effects of pesticides on invertebrate communities in streams. Environmental Toxicology and Chemistry, 24, 954-965.
Liess M, Schaefer R, Schriever C, 2008. The footprint of pesticide stress in communities - species traits reveal community effects of toxicants. Science of the Total Environment, 406, 484-490.
1 2 3 4 5 6 7 8 9 10 | require(rspear)
data(spear_example)
head(spear_example)
sp <- spear(spear_example ,
taxa = "Taxon",
abundance = "Abundance",
group = c("Year", "Site"),
check = FALSE)
sp$traits
sp$spear
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.