plotF {amer}R Documentation

plot estimated function values + pointwise confidence intervals for an amer-Fit...

Description

plot estimated function values + pointwise confidence intervals for an amer-Fit

Usage

plotF(object, which, n=100, interval=RW, addConst=TRUE,
    trans=I, level=0.9, sims=1000, auto.layout=TRUE, rug=TRUE,
    legendPos=topright, ...)

Arguments

object a fitted additive (mixed) model of class amer-class
which (optional) an integer vector or a character vector of names giving the smooths for which plots are desired. Defaults to all.
n fitted values for a regular grid with n values in the range of the respective covariates are calculated
interval what mehod should be used to compute pointwise confidence/HPD intervals. See getF.
addConst boolean should the global intercept and intercepts for the levels of the by-variable be included in the fitted values (and their CIs)
trans a function that should be applied to the fitted values and ci's before plotting (e.g. the inverse link function to get plots on the scale of the reponse)
level level for the confidence/HPD intervals
sims how many iterates should be generated for the MCMC-based HPD-intervals
auto.layout automagically set plot layout via par()$mfrow
rug add rug-plots of the observed covariate locations
legendPos a (vector of) keyword(s) where to put labels of by-variables (see legend). "none" if you don't want a legend.
... arguments passed on to the low-level plot functions (plot, matlines), legend, and title

Value

invisibly returns the result of the getF-call used to do the plots

Author(s)

Fabian Scheipl

See Also

getF; plotF, tests/optionsTests.r and the vignette for examples


[Package amer version 0.5 Index]