get_smooths_by_id: Extract an mgcv smooth given its position in the model object

get_smooths_by_idR Documentation

Extract an mgcv smooth given its position in the model object

Description

Extract an mgcv smooth given its position in the model object

Usage

get_smooths_by_id(object, id)

Arguments

object

a fitted GAM model object.

id

numeric; the position of the smooth in the model object.


gratia documentation built on Feb. 16, 2023, 10:40 p.m.