fitted.haplo.glm: Fitted values from haplo.glm fit

View source: R/residuals.haplo.glm.q

fitted.haplo.glmR Documentation

Fitted values from haplo.glm fit

Description

The fitted values for each person, collapsed over their expanded fitted values due to their multiple possible haplotype pairs

Usage

## S3 method for class 'haplo.glm'
fitted(object, ...)

Arguments

object

A haplo.glm object

...

Optional arguments for the method

Details

Many of the subjects in a haplo.glm fit are expanded in the model matrix with weights used to reflect the posterior probability of the subject's haplotype pairs given their genotype. The working fitted values within the fitted object are from this expanded model matrix, and the fitted values from this method are calculated from the weighted fitted value for the subject across all their haplotype pairs.

Value

vector of fitted values

See Also

haplo.glm


haplo.stats documentation built on Jan. 22, 2023, 1:40 a.m.