ProdModPlot: Production Model Plot

Description Usage Arguments Value Examples

View source: R/ProdModPlot.R

Description

Production Model Plot

Usage

1
ProdModPlot(x, CatchData, IndexData, plots = 0, 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

plots

1/0 To plot, or not to plot

EstInit

1/0 Estimate initial biomass as proportion

Value

Plot and vector of predicted biomass.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
K <- log(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)
ProdModPlot(x, Catch, Index, estInit=1)

## End(Not run)

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