checkConfidentiality: Bootstrap uncertainty and summarize WCGOP discard data

View source: R/checkConfidentiality.R

checkConfidentialityR Documentation

Bootstrap uncertainty and summarize WCGOP discard data

Description

Bootstrap uncertainty and summarize WCGOP discard data

Usage

checkConfidentiality(
  dat,
  colnms,
  colLevs,
  newColNm = paste(colnms, "new", sep = ""),
  sectorLevs,
  strNms = NULL
)

Arguments

dat

passed ob data file filtered down to the species specific data (sp)

colnms

: the names of the columns to subset over (i.e., c("GEAR_TYPE","COMMON_NAME") ). Do not include year columns here, that is kept separate. If numeric, it refers to the column number

colLevs

A list of the levels to cut at, or select from each column. The list elements must be in the same order as colnms If numeric, then it will cut. If character, it will select that specific value. Year is always selected for a particular year

newColNm
strNms
sp

species name that should match the name in the ob data file

Author(s)

Allan Hicks and Chantel WEtzel


nwfsc-assess/nwfscDiscard documentation built on June 28, 2023, 6:06 p.m.