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


nick-komick/iRecAnalysisPkg documentation built on July 7, 2024, 6:29 a.m.