Learn R Programming

robmixglm (version 1.2-5)

fitted.robmixglm: Fitted values.

Description

Calculates the fitted values.

Usage

# S3 method for robmixglm
fitted(object, ...)

Value

A vector of the fitted values.

Arguments

object

A robmixglm object with a mixture (robust) random effects distribution.

...

Other parameters. (not used)

Author

Ken Beath <ken.beath@mq.edu.au>

Examples

Run this code
# \donttest{
library(MASS)
data(forbes)
forbes.robustmix <- robmixglm(bp~pres, data = forbes, cores = 1)
BIC(forbes.robustmix)
plot(fitted(forbes.robustmix), residuals(forbes.robustmix))
# }

Run the code above in your browser using DataLab