Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sm

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

Visualisations for Generalized Additive Models

v0.1.6
GPL-3
Authors
Matteo Fasiolo [aut, cre], Raphael Nedellec [aut], Yannig Goude [ctb], Christian Capezza [ctb], Simon N. Wood [ctb]
Initial release
2020-03-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.