Description Usage Arguments Value Examples
View source: R/inputFunctions.R
Prepare the fecundity vector and the birth ogive matrix used by the model. A linear transition between years with missing data is used.
1 2 3 4 5 6 7 8 | build.PandF(
Fdat = fecundity,
Fproj = Fproj,
Pdat = Pdat,
Pper = Pper,
years = years,
return.periods = T
)
|
Fdat |
Observed fecundity rates. |
Fproj |
Which fecundity rate used in projections. Default is mean value over all observed fecundity rates ("mean"). If not a specified fecundity rate can be used (just insert number). |
Pdat |
Observed birth ogives. |
Pper |
For which time periods the birth ogives are valid. |
years |
Start and stop year for the model (without projections). |
return.periods |
Whether to return data frame containing information about time periods of P and F sampling. NOTE! This is to allow plotting fecundity curves, distinguishing between real sampled values and interpolated between sampling periods. The returned object, Pper, must be omitted from data that are input into model. |
Pmatrix Time varying birth ogives.
1 | FvecandPmat <- build.PandF(fecundity,catch_data,Fproj,Pdat,Pper)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.