Arguments
weights
A set of non-negative value weights. Overrides repweights if defined.
repweights
A set of whole number (non-negative integer) weights. Useful if
weights are just for making copies of or deleting certain observations or for
frequency weights.
zeros
An option on how to deal with zero valued user supplied weights.
Default of "zero" allows zero weights, "epsilon" changes zeroes to 1e-08,
"remove" removes those observations from the dataset.
rebuild
An option to allow specified repweights to reconfigure the
rows of the dataset to rebuild a corresponding dataset where every row is
of weight 1. Useful if analysis model does not accept weights.
allowweights
Defines if weights are allowed in model.
allowrepweights
Defines if repweights are allowed in model. Overridden if
useweights=TRUE
.
data
Dataset, required if weights are defined by variable name, or if
dataset is to be reconfigured (by rebuild
or zeros
options)