Learn R Programming

abd (version 0.2-7)

BrookTrout: Salmon Survival in the Presence of Brook Trout

Description

Total numbers of salmon released (salmon.released) and surviving (salmon.surviving) in 12 streams, 6 with brook trout present and 6 with brook trout absent. The proportion of salmon surviving (proportion.surviving) is given for each stream.

Arguments

source

Levin, P.S., S. Achord, B.E. Fiest, and R.W. Zabel. 2002. Non-indigenous brook trout and the demise of Pacific salmon: a forgotten threat? Proceedings of the Royal Society of London, Series B, Biological Sciences 269: 1663-1670.

Examples

Run this code
str(BrookTrout)
str(BrookTrout2)

bwplot(proportion.surviving ~ trout, BrookTrout)

aggregate(proportion.surviving ~ trout, BrookTrout, FUN = favstats)
summary(proportion.surviving ~ trout, BrookTrout, fun = favstats)

Run the code above in your browser using DataLab