This function can be used to extract a smooth or random effect from an object of
class gamViz
.
sm(o, select)
o | an object of class |
---|---|
select | index of the selected smooth or random effect. |
An object representing a smooth effect.
See getViz for examples.