Function is simply a wrapper for expand.grid that adds a survey number to the returned object

expand_surveys(
  set_den = c(0.5, 1, 2, 5, 10)/1000,
  lengths_cap = c(5, 10, 20, 50, 100, 500, 1000),
  ages_cap = c(2, 5, 10, 20, 50)
)

Arguments

set_den

Vector of set densities (number of sets per grid unit squared)

lengths_cap

Vector of maximum number of lengths measured per set

ages_cap

Vector of maximum number of otoliths to collect per length group per division per year

Value

Returns a data.frame including all combinations of the supplied vectors.