plot.evgam {evgam}R Documentation

Plot a fitted evgam object

Description

Plot a fitted evgam object

Usage

## S3 method for class 'evgam'
plot(x, onepage = TRUE, which = NULL, main, ask = !onepage, ...)

Arguments

x

a fitted evgam object

onepage

logical: should all plots be on one page, or on separate pages? Defaults to TRUE

which

a vector of integers identifying which smooths to plot. The default NULL plots all smooths

main

a character string or vector of plot titles for each plot. If not supplied default titles are used

ask

logical: ask to show next plots if too many figures for current device?

...

extra arguments to pass to plot.gam

Value

Plots representing all one- or two-dimensional smooths

Examples


data(fremantle)
fmla_gev <- list(SeaLevel ~ s(Year, k=5, bs="cr"), ~ 1, ~ 1)
m_gev <- evgam(fmla_gev, fremantle, family = "gev")
plot(m_gev)


[Package evgam version 1.0.0 Index]