The R Project SVN R

Rev

Rev 61160 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61160 Rev 62060
Line 1... Line 1...
1
% File src/library/stats/man/predict.glm.Rd
1
% File src/library/stats/man/predict.glm.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-2013 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{predict.glm}
6
\name{predict.glm}
7
\alias{predict.glm}
7
\alias{predict.glm}
8
\concept{regression}
8
\concept{regression}
Line 50... Line 50...
50
  the residuals, whereas if \code{na.action = na.exclude} they will
50
  the residuals, whereas if \code{na.action = na.exclude} they will
51
  appear (in predictions and standard errors), with residual value
51
  appear (in predictions and standard errors), with residual value
52
  \code{NA}.  See also \code{\link{napredict}}.
52
  \code{NA}.  See also \code{\link{napredict}}.
53
}
53
}
54
\value{
54
\value{
55
  If \code{se = FALSE}, a vector or matrix of predictions.
55
  If \code{se.fit = FALSE}, a vector or matrix of predictions.
-
 
56
  For \code{type = "terms"} this is a matrix with a column per term, and
-
 
57
  may have an attribute \code{"constant"}.
-
 
58
  
56
  If \code{se = TRUE}, a list with components
59
  If \code{se.fit = TRUE}, a list with components
57
  \item{fit}{Predictions}
60
  \item{fit}{Predictions, as for \code{se.fit = FALSE}.}
58
  \item{se.fit}{Estimated standard errors}
61
  \item{se.fit}{Estimated standard errors.}
59
  \item{residual.scale}{A scalar giving the square root of the
62
  \item{residual.scale}{A scalar giving the square root of the
60
    dispersion used in computing the standard errors.}
63
    dispersion used in computing the standard errors.}
61
}
64
}
62
\note{
65
\note{
63
  Variables are first looked for in \code{newdata} and then searched for
66
  Variables are first looked for in \code{newdata} and then searched for