em_subsample: Specify data subsample for estimation model

View source: R/em_specs.R

em_subsampleR Documentation

Specify data subsample for estimation model

Description

Return a data frame compatible with subsample_catch specifying the number of catch observations to use for each estimation model.

Usage

em_subsample(estmod, n_comm = 4000)

Arguments

estmod

Estimation model name

n_comm

Number of commercial observations to use

Details

Valid estimation model names that subset observations to use only survey data are:

  • "design"

  • "model"

  • "survey"

  • "survey_spt"

Estimation models that include all survey observations and n_comm commercial observations are:

  • "design_all"

  • "model_all"

  • "spatial_ab"

  • "spatial_q"

  • "sptemp_ab"

  • "sptemp_q"

Value

A data frame to be used by subsample_catch

Author(s)

John K Best


jkbest2/spatq documentation built on Sept. 22, 2022, 3:22 a.m.