pool_interviews: Perform interview pooling for a domain

View source: R/guam_BB_interview_pooling.R

pool_interviewsR Documentation

Perform interview pooling for a domain

Description

Function to conduct interview pooling. It is called by code in the file "R/guam_ BB_ expansion.R".

Usage

pool_interviews(
  interviews,
  year,
  method,
  type_of_day,
  port,
  charter,
  unsampled_ports
)

Arguments

interviews

All interviews for all years

year

Year of the expansion

method

Fishing method of the current stratum expansion

type_of_day

Type of day of the current stratum expansion

port

Port of the current stratum expansion

charter

Charter status of the current stratum expansion

unsampled_ports

Boolean representing whether the current pooling is for unsampled ports

Value

data frame containing the pooled interviews for the current stratum; if pooling could not produce at least 3 interviews, NA is returned


PIFSCstockassessments/expalg.cie documentation built on June 15, 2022, 1:41 a.m.