which_smooths: Identify a smooth term by its label

which_smoothsR Documentation

Identify a smooth term by its label

Description

Identify a smooth term by its label

Usage

which_smooths(object, ...)

## Default S3 method:
which_smooths(object, ...)

## S3 method for class 'gam'
which_smooths(object, terms, ...)

## S3 method for class 'bam'
which_smooths(object, terms, ...)

## S3 method for class 'gamm'
which_smooths(object, terms, ...)

Arguments

object

a fitted GAM.

...

arguments passed to other methods.

terms

character; one or more (partial) term labels with which to identify required smooths.


gavinsimpson/gratia documentation built on Sept. 3, 2024, 3:35 p.m.