simpfox | R Documentation |
simpfox calculates the predicted CPUE for a Fox SPM model. This function is now deprecated and instead a schaefer parameter (TRUE or FALSE) has been introduced into simpspm
simpfox(par, indat)
par |
the parameters of the SPM = r, K, and Binit |
indat |
the data which needs to include year, catch, and CPUE |
a vector of nyrs of the predicted CPUE
## Not run:
data(dataspm)
fish <- dataspm$fish
fish
colnames(fish) <- tolower(colnames(fish))
pars <- c(r=0.138,K=6129,Binit=2757)
predCE <- simpfox(pars,fish)
cbind(fish[,"year"],fish[,"cpue"],predCE)
print("")
print("Deprecated, use simpspm and schaefer=FALSE instead.")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.