Description Usage Arguments Details Value Examples
Returns a leverage measure for each sample point in the data.
1 2 3 4 5 |
object |
a fitted model object. |
... |
additional arguments are passed to the dispatched method. |
For least-squares linear models the leverages are the diagonal elements of the hat matrix. This function is generic. The default method assigns a leverage of p/n to every sample point.
a numeric vector containing the leverages.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.