leverage {pubh} | R Documentation |
Leverage.
Description
leverage
is an internal function called by rank_leverage
.
Usage
leverage(x)
Arguments
x |
A numeric variable. Missing values are removed by default. |
Details
Estimates the leverage of each observation around the arithmetic mean.
Value
Variable with corresponding leverage estimations
Examples
x <- rnorm(10, 170, 8)
x
mean(x)
leverage(x)
rank_leverage(x)
[Package pubh version 1.3.2 Index]