fitted.bellreg {bellreg} | R Documentation |
This function returns the fitted values.
## S3 method for class 'bellreg'
fitted(object, ...)
object |
an object of the class bellreg. |
... |
further arguments passed to or from other methods. |
a vector with the fitted values (for MLE approach) or a matrix containing the posterior sample of the fitted values.
data(faults)
fit <- bellreg(nf ~ lroll, data = faults)
fitted.values(fit)