Learn R Programming

VGAM (version 0.7-9)

wffc.points: Point System for the 2008 World Fly Fishing Championships

Description

Point system for the 2008 World Fly Fishing Championships: current and proposed.

Usage

wffc.P1(length, min.eligible = 0.18)
wffc.P1star(length, min.eligible = 0.18)
wffc.P2(length, min.eligible = 0.18)
wffc.P2star(length, min.eligible = 0.18)

Arguments

length
Length of the fish, in metres. Numeric vector.
min.eligible
Currently the regulations stipulate that the smallest eligible fish is 180 mm.

Value

  • A vector with the number of points.

Details

The official website contains a document with the official rules and regulations of the competition. The function wffc.P1() implements the current WFFC point system. wffc.P1star() is a `continuous' version of it.

The function wffc.P2() is a new proposal which rewards catching bigger fish. wffc.P2star() is a `continuous' version of it.

References

Yee, T. W. (2009) VGLMs and VGAMs: an overview for applications in fisheries research. In preparation.

See Also

wffc.

Examples

Run this code
fishlength = seq(0.0, 0.72, by=0.001)
plot(fishlength, wffc.P2star(fishlength), type="l", col="blue",
     las=1, lty="dashed", lwd=2, las=1, cex.main=0.8,
     xlab="Fish length (m)", ylab="Competition points",
     main="Current (red) and proposed (blue) WFFC point system")
lines(fishlength, wffc.P1star(fishlength), type="l", col="red", lwd=2)
abline(v=(1:4)*0.18, lty="dotted")
abline(h=(1:9)*wffc.P1star(0.18), lty="dotted")

Run the code above in your browser using DataLab