fitted.logitreg {analogue}R Documentation

Fitted values for the training set from logistic regression models

Description

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.

Usage

## S3 method for class 'logitreg'
fitted(object, combined = FALSE, ...)

Arguments

object

an object of class "logitreg" resulting from a call to logitreg.

combined

logical; should the fitted values for the overall combined analysis be returned.

...

arguments passed to other methods.

Value

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.

Author(s)

Gavin L. Simpson

See Also

See logitreg for example usage.


[Package analogue version 0.17-6 Index]