plotspmdat {MQMF} | R Documentation |
plotspmdat plots the fish data containing catches and cpue
Description
plotspmdat plots a fish data set. It plots the catch and CPUE against time
Usage
plotspmdat(x, ...)
Arguments
x |
a data set that should contain 'year', 'catch', and 'cpue' |
... |
extra parameters potentially used by plotspmdat |
Value
nothing, but it does generate a new plot
Examples
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)
[Package MQMF version 0.1.5 Index]