Learn R Programming

abd (version 0.1-21)

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.

Usage

data(BrookTrout)

data(BrookTrout2)

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
data(BrookTrout)
data(BrookTrout2)
str(BrookTrout)
str(BrookTrout2)

bwplot(proportion.surviving ~ trout, BrookTrout)

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

if (require(Hmisc)) {
  summary( proportion.surviving ~ trout, BrookTrout, fun = favstats)
}

Run the code above in your browser using DataLab