Learn R Programming

NonlinearDiD (version 0.1.0)

plot.nonlinear_attgt: Plot ATT(g,t) Estimates

Description

Produces a faceted scatter plot of ATT(g,t) estimates with confidence intervals, one panel per treatment cohort.

Usage

# S3 method for nonlinear_attgt
plot(x, ..., alpha = 0.05, point_size = 2)

Value

A ggplot2 object.

Arguments

x

An object of class nonlinear_attgt.

...

Additional arguments (unused).

alpha

Numeric. Significance level for CI. Default 0.05.

point_size

Numeric. Size of estimate points. Default 2.