Not sure whether I understand your question fully but I guess paste() is your
friend:
ggtitle( paste( "RR(overall) =", RR, "N =", N, "alpha =", alpha1 ) )
On Friday 19 July 2013 17:17:24 Manisha Brahma chary wrote:
> Hello,
> I am using ggplot2 to plot a graph and I want to give a title to the
Hello,
I am using ggplot2 to plot a graph and I want to give a title to the plot that
has both text and variables. I have tried a couple of ways, but none of the
methods work. Below is my code. Under ggtitle RR, N, alpha1 are variables and
"RR(overall), "N", "alpha" are strings.
Require(ggplot2
2 matches
Mail list logo