I have a nice coefplot that plotting an object that I calculated with feglm
command. Now I want to save it as an pdf and jpeg object that I could export somewhere else. I would also like to tinker with the width and height.
Thank you,
You use pdf(), plot it, then dev.off(). For example:
est = feols(Petal.Length ~ Petal.Width + Sepal.Length +
Sepal.Width | Species, iris)
pdf("plot.pdf")
coefplot(est)
dev.off()