plotspmdat | R Documentation |
plotspmdat plots a fish data set. It plots the catch and CPUE against time
plotspmdat(x, ...)
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
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.