Learn R Programming

mgcv (version 1.8-31)

influence.gam: 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 gam
influence(model,...)

Arguments

model

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

...

un-used in this case

Value

An array (see above).

Details

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

See Also

gam