powered by
plotspmdat plots a fish data set. It plots the catch and CPUE against time
plotspmdat(x, ...)
a data set that should contain 'year', 'catch', and 'cpue'
extra parameters potentially used by plotspmdat
nothing, but it does generate a new plot
# NOT RUN { yrs <- 2000:2010 catches <- rnorm(length(yrs),mean=150,sd=5) ce <- rnorm(length(yrs),mean=20,sd=1) fish <- as.data.frame(cbind(year=yrs,catch=catches,cpue=ce)) plotspmdat(fish) # }
Run the code above in your browser using DataLab