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.


mfasiolo/mgcViz documentation built on Aug. 30, 2024, 3:29 p.m.