ProdMod: Production Model Fits a production model to input data

Description Usage Arguments Value Examples

View source: R/ProdMod.R

Description

Production Model Fits a production model to input data

Usage

1
ProdMod(x, CatchData, IndexData, estInit = 0)

Arguments

x

Vector of production model parameters, c(carrying capacity, population growth rate, initial biomass as a proportion of carrying capacity)

CatchData

Vector of catch

IndexData

Vector of abundance indices

EstInit

1/0 Estimate initial biomass as proportion

Value

Sum Squared Errors from fitting production model

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
K <- 10000
r <- 0.4
# Not needed if not estimating initial biomass
InitBio <- 0.95
x <- c(K,r,InitBio)
Catch <- c(500, 900, 750)
Index <- c(0.5, 0.9, 0.75)
ProdMod(x, Catch, Index, estInit=1)

## End(Not run)

szuwalski/GeMS documentation built on Oct. 2, 2019, 5:55 a.m.