add_weight: Add weight

Description Usage Arguments Author(s) Examples

View source: R/preparation.R

Description

Create a weight variable to a survey, based on marketshares. Values will be replaced if 'weight' is set in associations. If not, a new variable 'w' is created. Weights are only set for valid observations, non-valid will be set to NA.

Usage

1

Arguments

x

A Survey.

Author(s)

Kristian D. Olsen

Examples

1

itsdalmo/reporttoolDT documentation built on May 18, 2019, 7:11 a.m.