weights.nonprob | R Documentation |
A generic function weights
that returns inverse probability weights (if present)
## S3 method for class 'nonprob'
weights(object, ...)
object |
a |
... |
other arguments passed to methods (currently not supported) |
A vector of weights or a NULL
extracted from the nonprob
object i.e. element "ipw_weights"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.