oefun: Run the ASCI O/E

Description Usage Arguments Details Value Examples

View source: R/oefun.R

Description

Run the ASCI O/E index for diatoms, soft-bodied algae, and hybrids

Usage

1
oefun(taxain, sitein, ...)

Arguments

taxain

data.frame for input taxonomy data

sitein

data.frame for input site data

...

additional arguments passed to rfpred

Details

Three index scores are calculated and returned as a named list

Value

A list with three elements named as Scores.diatoms, Scores.sba, and Scores.hybrid. Each element includes an additional list of three data.frames names OE.scores, Capture.Probs, and Group.Occurrence.Probs.

Examples

1
2
3
taxain <- getids(demo_algae_tax)
sitein <- getids(demo_algae_sitedata)
oefun(taxain, sitein)

SCCWRP/ASCI documentation built on Jan. 12, 2018, 6:33 p.m.