sm: Extracting a smooth effect from a GAM model

View source: R/sm.R

smR Documentation

Extracting a smooth effect from a GAM model

Description

This function can be used to extract a smooth or random effect from an object of class gamViz.

Usage

sm(o, select)

Arguments

o

an object of class gamViz, the output of a getViz call.

select

index of the selected smooth or random effect.

Value

An object representing a smooth effect.

See Also

See getViz for examples.


mgcViz documentation built on April 11, 2025, 5:44 p.m.

Related to sm in mgcViz...