compare: Compare RSI, IBR, and Cliff's delta

View source: R/compare.R

compareR Documentation

Compare RSI, IBR, and Cliff's delta

Description

compare calculates RSI assigned values, IBR translated scores, and Cliff's delta in the hypothetical case study.

Usage

compare(sam, sam_mean)

Arguments

sam

a data frame, the first output of simul.

sam_mean

a data frame, the third output of simul.

Value

compare returns a list of length 5:

blaise

RSI assigned values and final RSI.

beliaeff

IBR translated scores and final IBR.

pham

Cliff's delta and the average of absolute Cliff’s delta.

fig1

ggplot object of comparisions among RSI assigned values, IBR translated scores, and Cliff's delta.

fig2

ggplot object of comparision among RSI, IBR, and the average of absolute Cliff’s delta.

References

Blaise, C., Gagné, F., Pellerin, J., Hansen, P.-D., & Trottier, S. (2002). Molluscan shellfish biomarker study of the Quebec, Canada, Saguenay Fjord with the soft-shell clam, Mya arenaria. Environmental Toxicology, 17(3), 170–186. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1002/tox.10048")}.

Beliaeff, B., & Burgeot, T. (2002). Integrated biomarker response: A useful tool for ecological risk assessment. Environmental Toxicology and Chemistry, 21(6), 1316–1322. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1002/etc.5620210629")}.

Examples


set.seed(1)
setting <- setpop()
temp <- simul(setting$pop_mean)
compare(temp$sam, temp$sam_mean)
 #might take more than 5s in some machines


mbRes documentation built on March 31, 2023, 8:14 p.m.