ASCI | R Documentation |
Score samples using the ASCI tool
ASCI(taxa, stations)
taxa |
|
stations |
|
One index for three taxonomy types are scored, MMI for diatoms, soft-bodied algae, and hybrid. If only soft-bodied algae or diatoms are present, only the respective ASCI and metrics are returned.
A dataframe with all metrics calculated for each provided taxa
# calculate all
ASCI(demo_algae_tax, demo_station)
# works if either soft-bodied or diatoms are missing
# remove diatoms from station sample 909M24937
tmp <- subset(demo_algae_tax, !(StationCode == '909M24937' & SampleTypeCode == 'Integrated'))
ASCI(tmp, demo_station)
# works if either soft-bodied or diatoms are missing
# remove soft-bodied from station sample 801M16916
tmp <- subset(demo_algae_tax, !(StationCode == '801M16916' & SampleTypeCode != 'Integrated'))
ASCI(tmp, demo_station)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.