powered by
leverage is an internal function called by rank_leverage.
leverage
rank_leverage
leverage(x)
Variable with corresponding leverage estimations
A numeric variable. Missing values are removed by default.
Estimates the leverage of each observation around the arithmetic mean.
x <- rnorm(10, 170, 8) x mean(x) leverage(x) rank_leverage(x)
Run the code above in your browser using DataLab