| weighting_spec | R Documentation |
Creates an inert recipe object. Nothing is computed until prep() is called.
weighting_spec(data, base_weights)
data |
data.frame with the sample units (one row per case). |
base_weights |
unquoted name of the design base-weight column. |
an object of class "weighting_spec".
rec <- weighting_spec(sample_survey, base_weights = pw)
rec
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.