View source: R/cellwise_utils.R
| tukey_weight | R Documentation |
Computes Tukey bisquare weights for standardized values.
Returns (1 - (u/k)^2)^2 for values within the tuning
constant and 0 for values outside.
tukey_weight(u, k = 4.685)
u |
numeric vector of standardized values |
k |
tuning constant, Default: 4.685 |
numeric vector of weights in [0, 1]
Matthias Templ
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.