surveySpecificVariance: Survey Specific Variance Calculates the licence/draw type...

View source: R/SurveyAnalysisLib.r

surveySpecificVarianceR Documentation

Survey Specific Variance Calculates the licence/draw type category specific variance.

Description

Survey Specific Variance Calculates the licence/draw type category specific variance.

Usage

surveySpecificVariance(
  survey_data,
  survey_response,
  lic_uniq_col_name = "licence_id",
  strata_col_names = c("draw_type", "resident_status", "licence_type", "age_category"),
  non_var_col_names = c("area", "method")
)

Arguments

survey_data

All the survey result data for the month

survey_response

A data frame of response totals by licence category/draw type

lic_uniq_col_name

Column name identifying unique licences

strata_col_names

Column names to stratify variances

non_var_col_names

Columns that have no variance

Value

Variance values for the specific licence category/draw type in each area and method


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