sim_pop: Operating model

Description Usage Arguments Value Author(s)

View source: R/sim_pop.R

Description

sim_pop Age-converted-to-length-based operating model specifying true population dynamics

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
sim_pop(
  lh,
  Nyears,
  pool,
  Fdynamics,
  Rdynamics,
  Nyears_comp,
  comp_sample,
  init_depl = 0.99,
  seed,
  sample_type = "catch",
  mgt_type = "F",
  fleet_proportions,
  nareas
)

Arguments

lh

list of life history information, from create_lh_list

Nyears

number of years to simulate

pool

if nseasons (in life history list) is greater than one, pool the generated data into annual time steps, or leave at the season-level? FALSE will generate shorter time step life history info, mean length

Fdynamics

Specify name of pattern of fishing mortality dynamics, Constant, Endogenous, Oneway, or None. Input matrix with dimensions fleets = rows, years = columns

Rdynamics

Specify name of pattern of recruitment dynamics, Constant, Pulsed, Pulsed_up, or BH

Nyears_comp

number of years of length composition data

comp_sample

sample size of length composition data annually

init_depl

default=NULL, can specify a starting depletion, initial F (using init_F), or 2 values that indicate range from which to choose them

init_F

default=NULL, can specify a starting F, an initial depletion (using init_depl), or 2 vaues that indicate range from which to choose them

seed

set seed for generating stochastic time series

sample_type

a character vector specifying if the length comps are sampled from the 'catch' (default) or from the population

mgt_type

removals based on F (default) or catch

fleet_proportions

vector specifying the relative size of each fleet in terms of fishing pressure. must have length = nfleets and sum to 1.

nareas

number of areas, default = 1, if greater than 1, must be equal to the number of fleets

Value

named list of attributes of true population/data

Author(s)

M.B. Rudd


merrillrudd/LIME documentation built on June 20, 2020, 2:58 p.m.