Description Usage Arguments Value Examples
Estimate turnover of vessels from catch by vessel by year data; To specify the minimum number of years that a vessel needs stay in the fishery, then give a value to the variable minyrs.
1 | turnover(x, minyrs = 1)
|
x |
A matrix of a continuous numeric property by year, the original usage was to plot catch-by-vessel against year |
minyrs |
limits the analysis to those vessels that remain in the fishery for at least minyrs years - which would eliminate the occasional opportunistic fisher who only fishes for one or two years, or whatever minimum is selected. Vessels with zero catches are not included in case zeros and NAs are counted as starting and leaving the fishery. |
a matrix of years by Continue, Leave, Start, Total
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
library(r4cpue)
data(sps)
cbv <- tapply(sps$catch_kg,list(sps$Vessel,sps$Year),sum,na.rm=TRUE)/1000
dim(cbv)
early <- rowSums(cbv[,1:6],na.rm=TRUE)
late <- rowSums(cbv[,7:14],na.rm=TRUE)
cbv1 <- cbv[order(late,-early),]
plotprep(width=7,height=6)
yearBubble(cbv1,ylabel="Catch by Trawl",vline=2006.5,diam=0.2)
turnover(cbv)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.