I want to achieve exactly same info like answer in below link
Adding table within the plotting region of a ggplot in r but I am trying to put my extra table info in on the top left corner with header on it.I tried changing xmin,xmax,ymin,ymax values but it did not work. My X axis is a factor I think that added another layer of complexity. Can somebody help.
I tried following below suggestion too but unfortunately there is no grid() package anymore.
http://www.cookbook-r.com/Graphs/Multiple_graphs_on_one_page_(ggplot2)/
Your help is appreciated.
Edit: Code copied from comments
ggplot(data=AMIClean, aes(x=Month_Year_Final, y=Observed_Rate, group=1))
+ geom_line(aes(group=1),colour = "forestgreen")+ geom_point(size=3, colour="black")
+ xlab("Month Year(N=Denominator Cases)") + ylab("Readmission Rate(%)")
+ ggtitle("AMI Trend (%)")+ theme_bw()
+ theme(panel.grid.major = element_blank(), panel.grid.minor = element_blank())
+ theme(axis.text.x = element_text(angle = 45, hjust = 1))
+ annotation_custom(tableGrob(AMITableCurrent),xmax=24,xmin=0 ymin=0, ymax=30)