Bootstrap non-catch share data

boostrap_discard(
  dir = NULL,
  data,
  boot_number = boot_number,
  boot_variable = "r_port_group",
  seed_number = NULL
)

Arguments

dir

Directory location to save files.

data

A data frame of WCGOP catch data filtered down to non-catch share data.

boot_number

The number of bootstraps to conduct

boot_variable

The column name to do the inner sampling across.

seed

The seed number.

redact

Switch to remove any confidential data records from output.

Details

Bootstrap samples across year, fleet, and return port group.

Author

Chantel Wetzel, Allan Hicks, and Jason Jannot