
Last chance! 50% off unlimited learning
Sale ends in
data(wffc)
Competitors were ranked according to their placings at each sector-session combination, and then these placings were summed. Those with the minimum total placings were the winners, thus it was not necessarily those who had the maximum points who won. For example, in Session 1 at the Waihou River, each of the 19 competitors was ranked 1 (best) to 19 (worst) according to the point system. This is the ``placing'' for that session. These placings were added up over the 5 sessions to give the ``total placings''.
All sectors have naturally wild Rainbow trout (Oncorhynchus mykiss) while Lake Otamangakau and the Whanganui River also holds Brown trout (Salmo trutta). Only these two species were targetted. The species was not recorded electronically, however a post-analysis of the paper score sheets from the two lakes showed that, approximately, less than 5 percent were Brown trout. It may be safely assumed that all the Waihou and Waimakariri fish were Rainbow trout. The gender of the fish were also not recorded electronically, and anyway, distinguishing between male and female was very difficult for small fish.
Although species and gender data were supposed to have been collected at the time of capture the quality of these variables is rather poor and furthermore they were not recorded electronically. Note that some fish may have been caught more than once, hence these data do not represent individual fish but rather recorded captures.
Yee, T. W. (2008) Vector generalized linear and additive models, with applications to the 2008 World Fly Fishing Championships. In preparation.
wffc.indiv
,
wffc.teams
,
wffc.nc
,
wffc.P1
.data(wffc)
summary(wffc)
with(wffc, table(water,session))
# Obtain some simple plots
waihou = with(wffc, wffc[water=="Waihou",])
waimak = with(wffc, wffc[water=="Waimakariri",])
whang = with(wffc, wffc[water=="Whanganui",])
otam = with(wffc, wffc[water=="Otamangakau",])
roto = with(wffc, wffc[water=="Rotoaira",])
minlength = min(wffc[,"length"])
maxlength = max(wffc[,"length"])
nwater = c("Waihou"=nrow(waihou), "Waimakariri"=nrow(waimak),
"Whanganui"=nrow(whang), "Otamangakau"=nrow(otam),
"Rotoaira"=nrow(roto))
par(mfrow=c(2,3), las=1)
# Overall distribution of length
with(wffc, boxplot(length/10 ~ water, ylim=c(minlength, maxlength)/10,
border="blue", main="Length (cm)"))
# Overall distribution of LOG length
with(wffc, boxplot(length/10 ~ water, ylim=c(minlength, maxlength)/10,
border="blue", log="y",
main="Length (cm) on a log scale"))
# Overall distribution of number of captures
pie(nwater, border="blue", main="Proportion of captures",
labels=names(nwater), density=10, col=1:length(nwater),
angle=85+30* 1:length(nwater))
# Overall distribution of number of captures
with(wffc, barplot(nwater, main="Number of captures", cex.names=0.5))
# Overall distribution of proportion of number of captures
with(wffc, barplot(nwater / sum(nwater), cex.names=0.5,
main="Proportion of captures"))
# An interesting lake
with(roto, hist(length/10, xlab="Fish lengths (cm)", breaks=seq(18, 70, by=3),
prob=TRUE, ylim=c(0, 0.08), border="blue", ylab="",
main="Lake Rotoaira", lwd=2))
Run the code above in your browser using DataLab