| Line 1... |
Line 1... |
| 1 |
% File src/library/stats/man/termplot.Rd
|
1 |
% File src/library/stats/man/termplot.Rd
|
| 2 |
% Part of the R package, http://www.R-project.org
|
2 |
% Part of the R package, http://www.R-project.org
|
| 3 |
% Copyright 1995-2007 R Core Team
|
3 |
% Copyright 1995-2012 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\newcommand{\CRANpkg}{\href{http://CRAN.R-project.org/package=#1}{\pkg{#1}}}
|
6 |
\newcommand{\CRANpkg}{\href{http://CRAN.R-project.org/package=#1}{\pkg{#1}}}
|
| 7 |
|
7 |
|
| 8 |
\name{termplot}
|
8 |
\name{termplot}
|
| Line 30... |
Line 30... |
| 30 |
\item{data}{data frame in which variables in \code{model} can be
|
30 |
\item{data}{data frame in which variables in \code{model} can be
|
| 31 |
found}
|
31 |
found}
|
| 32 |
\item{envir}{environment in which variables in \code{model} can be found}
|
32 |
\item{envir}{environment in which variables in \code{model} can be found}
|
| 33 |
\item{partial.resid}{logical; should partial residuals be plotted?}
|
33 |
\item{partial.resid}{logical; should partial residuals be plotted?}
|
| 34 |
\item{rug}{add \link{rug}plots (jittered 1-d histograms) to the axes?}
|
34 |
\item{rug}{add \link{rug}plots (jittered 1-d histograms) to the axes?}
|
| 35 |
\item{terms}{which terms to plot (default \code{NULL} means all terms)}
|
35 |
\item{terms}{which terms to plot (default \code{NULL} means all
|
| - |
|
36 |
terms); a \code{\link{character}} vector, passed to
|
| - |
|
37 |
\code{\link{predict}(.., term="terms", terms = *)}.}
|
| 36 |
\item{se}{plot pointwise standard errors?}
|
38 |
\item{se}{plot pointwise standard errors?}
|
| 37 |
\item{xlabs}{vector of labels for the x axes}
|
39 |
\item{xlabs}{vector of labels for the x axes}
|
| 38 |
\item{ylabs}{vector of labels for the y axes}
|
40 |
\item{ylabs}{vector of labels for the y axes}
|
| 39 |
\item{main}{logical, or vector of main titles; if \code{TRUE}, the
|
41 |
\item{main}{logical, or vector of main titles; if \code{TRUE}, the
|
| 40 |
model's call is taken as main title, \code{NULL} or \code{FALSE} mean
|
42 |
model's call is taken as main title, \code{NULL} or \code{FALSE} mean
|
| Line 59... |
Line 61... |
| 59 |
\code{"free"} when limits are computed for each plot.}
|
61 |
\code{"free"} when limits are computed for each plot.}
|
| 60 |
\item{\dots}{other graphical parameters.}
|
62 |
\item{\dots}{other graphical parameters.}
|
| 61 |
}
|
63 |
}
|
| 62 |
\details{
|
64 |
\details{
|
| 63 |
The model object must have a \code{predict} method that accepts
|
65 |
The model object must have a \code{predict} method that accepts
|
| 64 |
\code{type=terms}, eg \code{\link{glm}} in the \pkg{base} package,
|
66 |
\code{type=terms}, e.g., \code{\link{glm}} in the \pkg{base} package,
|
| 65 |
\code{\link[survival]{coxph}} and \code{\link[survival]{survreg}} in
|
67 |
\code{\link[survival]{coxph}} and \code{\link[survival]{survreg}} in
|
| 66 |
the \CRANpkg{survival} package.
|
68 |
the \CRANpkg{survival} package.
|
| 67 |
|
69 |
|
| 68 |
For the \code{partial.resid=TRUE} option it must have a
|
70 |
For the \code{partial.resid=TRUE} option it must have a
|
| 69 |
\code{\link{residuals}} method that accepts \code{type="partial"},
|
71 |
\code{\link{residuals}} method that accepts \code{type="partial"},
|