Re: [R] do calculation within expression(), text in plot

2014-02-28 Thread William Dunlap
Krueger > Sent: Friday, February 28, 2014 2:27 AM > To: r-help@r-project.org > Subject: [R] do calculation within expression(), text in plot > > >Dear Helpers, >I would like to add some text to my plot, containing a variable and the >calculated value for

[R] do calculation within expression(), text in plot

2014-02-28 Thread Tonja Krueger
Dear Helpers, I would like to add some text to my plot, containing a variable and the calculated value for the variable. As I would like to produce many plots, I hope this can be done automatically. Unfortunately I can't get R to do the calculation for cor(nou,dak) when I