leverage_testCheck arguments of leverage_test
arg_check_leverage_test(model, n, ttype, threshold)A vector of statistics
A fitted model object from the
lm function.
The number of leverage points to return. The default is all leverage points.
Threshold type. The default is
"half". The other options are "2mean" and
"custom". See Details.
A number between 0 and 1. Any
observation with a leverage value above this number is
declared a leverage point. This is automatically
determined unless ttype = "custom".