I am trying to write this bit of code in my ggplot block.
ggtitle(expression(atop(bold(paste0("Control rates Vs Mean yield for " , deparse(substitute(field)))), atop(italic("(Anova:TukeyHSD)"), ""))))
It is either generating this error
Error in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :
polygon edge not found
and If it works, the plot will have title as it is: paste0("Control rates Vs Mean yield for ", deparse(substitute(field)))
How do I properly write this ggtitle?
