Description Usage Arguments Author(s)
This function is often used in surveys to cap large weights caused by employment weighting.
1 | cap(n, threshold = 500, exponent = 0.7)
|
n |
vector to be capped |
threshold |
scalar at which the cap should come into play, defaults to 500. |
exponent |
an exponent typically below 1. |
Matthias Banenrt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.