View source: R/cellwise_utils.R
| huber_weight | R Documentation |
Computes Huber weights for standardized values.
Returns 1 for values within the tuning constant and
k / abs(u) for values outside.
huber_weight(u, k = 1.345)
u |
numeric vector of standardized values |
k |
tuning constant, Default: 1.345 |
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.