compare {mbRes} | R 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 |
sam_mean |
a data frame, the third output of |
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. 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. 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