Learn R Programming

bbreg (version 2.0.2)

fitted.bbreg: fitted.bbreg

Description

Function providing the fitted means for the model (bessel or beta).

Usage

# S3 method for bbreg
fitted(object, type = c("response", "link", "precision", "variance"), ...)

Arguments

object

object of class "bbreg" containing results from the fitted model.

type

the type of variable to get the fitted values. The default is the "response" type, which provided the estimated values for the means. The type "link" provides the estimates for the linear predictor of the mean. The type "precision" provides estimates for the precision parameters whereas the type "variance" provides estimates for the variances.

...

further arguments passed to or from other methods.

See Also

predict.bbreg, summary.bbreg, coef.bbreg, vcov.bbreg, plot.bbreg

Examples

Run this code
# NOT RUN {
fit = bbreg(agreement ~ priming + eliciting, data = WT)
fitted(fit)
fitted(fit, type = "precision")
# }

Run the code above in your browser using DataLab