Learn R Programming

actuaRE (version 1.0.0)

fixef-actuaRE: Extract the fixed-effects estimates from a fitted random effects model

Description

A generic function to extract the fixed effects (i.e. the company-specific effects) estimates from a fitted random effects model.

Usage

# S3 method for hierCredGLM
fixef(object, ...)

# S3 method for hierCredTweedie fixef(object, ...)

# S3 method for buhlmannStraubGLM fixef(object, ...)

# S3 method for buhlmannStraubTweedie fixef(object, ...)

Value

a named, numeric vector of fixed-effects estimates.

Arguments

object

an object of type hierCredGLM or hierCredTweedie

...

ignored.

Examples

Run this code
# \donttest{
fit = hierCredGLM(Y ~ area + (1 | VehicleType / VehicleBody), dataCar,
weights = w, p = 1.75, epsilon = 1e-6)
fixef(fit)
# }

Run the code above in your browser using DataLab