View source: R/misc_functions.R
leverage | R Documentation |
leverage
is an internal function called by rank_leverage
.
leverage(x)
x |
A numeric variable. Missing values are removed by default. |
Estimates the leverage of each observation around the arithmetic mean.
Variable with corresponding leverage estimations
x <- rnorm(10, 170, 8)
x
mean(x)
leverage(x)
rank_leverage(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.