allocate.effort: Allocate stations across strata

View source: R/allocate.effort.R

allocate.effortR Documentation

Allocate stations across strata

Description

Allocates stations across strata based on: stratum size, historical standard deviation of cpue, ex vessel price, and abundance of a preselected subset of species (reference a tech memo for how exactly Neyman allocations are handled?).

Created 12/18/13

Usage

allocate.effort(
  channel = NULL,
  species_weightings = NULL,
  stratum_stats = NULL,
  n_total = 400,
  min_n_stratum = 2
)

Arguments

channel

open connection object. Created from gapindex::get_connected()

species_weightings

dataframe of species codes and weightings

stratum_stats

dataframe of stratum means and sds for each species

n_total

integer. Number of total stations

min_n_stratum

integer. Minimum number of stations in a stratum

Value

A named vector of allocated stations across strata

Author(s)

Ned Laman ned.laman@noaa.gov


afsc-gap-products/AIGOASurveyPlanning documentation built on Dec. 2, 2024, 10:10 p.m.