envelope(object, type = "deviance", size = 0.95, rep = 19, optim.method=NULL,
epsilon = 0.001, maxit = 100, plot = TRUE, verbose = FALSE, ...)pgam holding the fitted modeldeviance. Options are described in residuals.pgam.95 which is equivalent to a 95% band19pgampgamTRUE a plot of the envelope is producedTRUE a sort of information is printed during the running timeplot functionenvelope holding the information needed to plot the envelope.If object is of class pgam the envelope is estimated and optionally plotted, else if is of class envelope then it is only plotted.
pgam, predict.pgam, residuals.pgam