Skip to contents

A dot-and-whisker display of the estimates and their intervals, one point per component (category / regime), grouped by variable for ame() tables.

Usage

# S3 method for class 'iop_fd'
plot(x, ...)

# S3 method for class 'iop_ame'
plot(x, ...)

Arguments

x

An object from first_difference() or ame().

...

Passed to graphics::plot() (e.g. main).

Value

x, invisibly.

See also

Examples

set.seed(3)
d <- riop(500, beta = c(0.8, -0.5), tau = c(-0.6, 0.7), gamma = c(0.3, 1), inflate = "bottom")
m <- iop(y ~ x1 + x2 | z1, d, inflate = "bottom")
plot(first_difference(m, "x1", -1, 1))

plot(ame(m))