A matrix of predicted probabilities. Each row in the matrix is a
vector of probabilities, assigning predicted probabilities over the range of
responses actually observed in the data. For instance, for models
with family=binomial
, the matrix has two columns for the "zero"
(or failure) and "one" (success) outcomes, respectively, and
trivially, each row in the matrix sums to 1.0.
For counts fit with family=poisson
or via glm.nb
, the
matrix has length(0:max(y))
columns. Each observation
used in fitting the model generates a row to the returned matrix; alternatively, if
newdata
is supplied, the returned matrix will have as many rows
as in newdata
.