Displaying 1 result from an estimated 1 matches for "petstring".
Did you mean:
getstring
1999 Jan 19
1
r-help[Q]: use of `expression' in annotation
Dear r-helpers,
I have some multiplot figures that I would like to annotate. To each plot
frame I would like to add the associated correlation coefficients. To do
so, I believe I need to understand the usage of `expression' better.
The following is a good start.
petstring <- expression(paste(r[rho*p],"=" ))
mtext(petstring, line=0.3, adj=0.1, cex=0.8)
My question is, how can I interpolate a variable into this expression?
I would like petstring to contain r[rho*p] = peti, where peti is the corr.
coefficient that would vary across panes in the figu...