fitted.bellreg {bellreg}R Documentation

Extract Model Fitted Values

Description

This function returns the fitted values.

Usage

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

Arguments

object

an object of the class bellreg.

...

further arguments passed to or from other methods.

Value

a vector with the fitted values (for MLE approach) or a matrix containing the posterior sample of the fitted values.

Examples


data(faults)
fit <- bellreg(nf ~ lroll, data = faults)
fitted.values(fit)



[Package bellreg version 0.0.2.1 Index]