Skip to contents

Coefficient point-and-interval plot for an ame_als or lame_als fit. The body builds the same frame autoplot.lame uses, sourcing the point estimate from coef(fit) and the interval from confint(fit) (sandwich or bootstrap, depending on which is available). which = "beta" is the only mode supported; which = "uv" / "ab" return an informative error.

Usage

# S3 method for class 'ame_als'
autoplot(object, which = c("beta", "uv", "ab"), conf.level = 0.95, ...)

# S3 method for class 'lame_als'
autoplot(object, which = c("beta", "uv", "ab"), conf.level = 0.95, ...)

Arguments

object

A fitted ame_als / lame_als object.

which

One of "beta" (currently the only supported value).

conf.level

Confidence level for the interval. Default 0.95.

...

Passed to vcov.ame_als / confint.ame_als (e.g. cluster).

Value

A ggplot object.