lwin | R Documentation |
Winsorizes a vector (sets values greater/less than the specified percentile to that value)
lwin(x, p = 0.05)
x |
a numeric vector to be winsorized |
p |
percentile, must be less than 0.5 (defaults to 0.05, implying 5th and 95th percentiles) |
winsorized version of x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.