[R] Putting a text box in a plot

Jim Lemon jim at bitwrit.com.au
Tue Sep 22 01:55:00 CEST 2009


On 09/21/2009 07:42 PM, Sergey Goriatchev wrote:
> Hello everyone,
>
> I have a plot and I want to but a (formatted) box containing text and
> numbers, say:
> Mean: 0.1
> St.Deviation: 1.1
> Skewness: 1.1
> Kurtosis: 0.5
>
> I know there is a way to do this, there is a function in some library,
> but it's been years since
> I used this function, and I do not remember where I found it.
> Could anyone help out?
>
> Thank you in advance!
> Sergey
>
>    
Hi Sergey,
Maybe addtable2plot in the plotrix package will do what you want.

Jim




More information about the R-help mailing list