simpfox: simpfox simply calculates the predicted CE for an SPM;...

View source: R/spm.r

simpfoxR Documentation

simpfox simply calculates the predicted CE for an SPM; deprecated

Description

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

Usage

simpfox(par, indat)

Arguments

par

the parameters of the SPM = r, K, and Binit

indat

the data which needs to include year, catch, and CPUE

Value

a vector of nyrs of the predicted CPUE

Examples

## 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)

haddonm/datalowSA documentation built on Nov. 5, 2023, 6:40 p.m.