A very simple package to draw plots that help to assess the parallel trends assumption in DID regression with additional control variables. For background and an example see my blog post here (the package is introduced fairly at the end of the post):
http://skranz.github.io/r/2021/10/20/ParallelTrendsPlot.html
The package is hosted on r-universe. To install it run:
options(repos = c(
skranz = 'https://skranz.r-universe.dev',
CRAN = 'https://cloud.r-project.org'))
install.packages('ParallelTrendsPlot')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.