Extracts fitted values for training set samples from logistic regression models fitted to each group of samples that describe the probability two samples are analogues (from the same group) as a function of dissimilarity between the paired samples.
# S3 method for logitreg
fitted(object, combined = FALSE, ...)
If combined == FALSE
(the default) then a matrix of fitted
probabilities, where the rows are the training set samples and the
columns the groupings, is returned. If combined == TRUE
, then a
list with components "group"
and
"combined"
. "group"
is a matrix of fitted probabilities
as above. "combined"
is a vector of fitted values for the
entire set of pairwise comparisons considered.
an object of class "logitreg"
resulting from a
call to logitreg
.
logical; should the fitted values for the overall combined analysis be returned.
arguments passed to other methods.
Gavin L. Simpson
See logitreg
for example usage.