influence.gam: Extract the diagonal of the influence/hat matrix for a GAM

View source: R/mgcv.r

influence.gamR Documentation

Extract the diagonal of the influence/hat matrix for a GAM

Description

Extracts the leading diagonal of the influence matrix (hat matrix) of a fitted gam object.

Usage

## S3 method for class 'gam'
influence(model,...)

Arguments

model

fitted model objects of class gam as produced by gam().

...

un-used in this case

Details

Simply extracts hat array from fitted model. (More may follow!)

Value

An array (see above).

Author(s)

Simon N. Wood simon.wood@r-project.org

See Also

gam


mgcv documentation built on May 29, 2024, 4:34 a.m.