Description Usage Arguments Details Author(s) References See Also Examples
Smooth function components of generalized
additive mixed model fits obtained via gSlc
are plotted.
1 2 3 
x 

pages 
The number of pages used to display the smooth
function fits. The default value of 
responseScale 
Boolean flag indicating whether or the smooth
function fits are plotted on the same scale as the response
variable. If 
xlab 
They are used as the x label for plots if supplied. 
ylab 
They are used as the y labels for plots if supplied. 
main 
They are used as the title for plots if supplied. 
bty 
A character string which determined the type of box which is drawn about plots. See par for reference. 
... 
Other graphic parameters. 
For each smooth function component of the generalized
additive mixed model specified in the call to gSlc
the
pointwise posterior mean is plotted along with a shaded polygon
corresponding to pointwise 95% credible sets.
Tung Pham [email protected] and Matt Wand [email protected].
Pham, T. and Wand, M.P. (2012).
Generalized additive mixed model analysis via gammSlice
.
Submitted.
1 2 3 4 5 6 7 8 9 10 11 12 13  ## Not run:
dat1 < gSlcSim(eg=3, num.rep = 10, num.gps = 100, family = "binomial",
random.factor = FALSE)
fit1 < gSlc(y~s(x1),family = "binomial", data = dat1)
plot(fit1)
plot(fit1,responseScale=TRUE)
dat2 < gSlcSim(eg=6,family = "poisson", random.factor = TRUE)
fit2 < gSlc(y~x1 + x2 + s(x3) + s(x4), random = list(idnum=~1),
family = "poisson", data = dat2)
plot(fit2,pages=2)
## End(Not run)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.