[R] Placing a varialbe within a text statement.

Matt Pocernich MattP2 at prodigy.net
Wed Feb 2 22:05:43 CET 2000


I have a simple question.

On a plot, I would like to place text containing a calculated value.  What is the format?

For example.

I would like the following text to appear on a plot.

The average temperature is 23.1 degrees.

I'm guessing the command is 
text( x, y, "The average temperature is " %variable name% "degrees")

Thanks,
Matt Pocernich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20000202/b943cd4c/attachment.html


More information about the R-help mailing list