calcResponseTotals: Calculate Response Totals

calcResponseTotalsR Documentation

Calculate Response Totals

Description

Add up responce total by strata and catch category. Because adjusments may remove catch from a particular user, then each catch cateogry may have a seperate response total.

Usage

calcResponseTotals(
  survey_data,
  uniq_user_col_name = "licence_id",
  strata_col_names = c("draw_type", "resident_status", "licence_type", "age_category")
)

Arguments

survey_data

The survey response data

uniq_user_col_name

Column name for unique users

strata_col_names

Stratification column names

Value

the survey_data with additional columns that match the catch columns with the "n_" prefix


Pacific-salmon-assess/iRecAnalysisPkg documentation built on July 6, 2024, 5:03 p.m.