Good point, I failed to spot this kink. You might be interested in a recent
discussion on r-help and r-devel,
http://markmail.org/message/4hvdmwqjyqwprbwf
Best,
baptiste
2009/9/2 Sebastien Bihorel
> Hi Baptiste,
>
> Thank for the help. One thing though that I found while transposing your
> s
Hi Baptiste,
Thank for the help. One thing though that I found while transposing your
syntax to my problem: lab must be of class expression for your syntax to
work. For instance, if one replaces the second elements of the lab
variables by a simple integer, lab is not more of class expression,
Hi,
Try this,
library(grid)
value <- c(0.1)
lab <- c("test",
expression(bquote(paste(.(value[1]*100), " and percentiles1",
sep=""))),
bquote(expression(.(value[1]*100)*" and percentiles2")),
bquote(paste(.(value[1]*100), " and percentiles3", sep="")) )
grid.newpage
Dear R-users,
I am trying to use the grid.text and expression functions to display
several character strings and plotmath text on a viewport. Some strings
can include a variable portion (PI.limits in the following example),
which I thought could be implemented by combining the bquote and the
4 matches
Mail list logo