Creates an inert recipe object. Nothing is computed until prep() is called.
Usage
weighting_spec(data, base_weights)
Arguments
- data
data.frame with the sample units (one row per case).
- base_weights
unquoted name of the design base-weight column.
Value
an object of class "weighting_spec".
Examples
rec <- weighting_spec(sample_survey, base_weights = pw)
rec
#>
#> == Weighting specification (weightflow) ==
#> Data : 467 cases
#> Base wts: pw
#> Steps : (none yet)
#> Status : not estimated
#>