Hi, 
I am trying to "convince" lattice to use bold face in an expression containing 
Greek characters without any luck.

Example code (without Greek characters, renders the expression in bold)

library(lattice)

data(Cars93,package=="MASS")
splom(~Cars93[,5:8]|Origin,data=Cars93,panel=function(x,y,...) {
panel.splom(x,y,...)
dum<-format(cor(x,y,use="complete",method="kendal"),dig=2)
panel.text(30,40,bquote(.(dum)),font=2)
},pscales=0,col="gray"
)


Example code (with Greek characters, no bold)

data(Cars93,package=="MASS")
splom(~Cars93[,5:8]|Origin,data=Cars93,panel=function(x,y,...) {
panel.splom(x,y,...)
dum<-format(cor(x,y,use="complete",method="kendal"),dig=2)
panel.text(30,40,bquote(tau == .(dum)),font=2)
},pscales=0,col="gray"
)


Any suggestions? 

Christos Argyropoulos

_________________________________________________________________

s. It's easy!

aspx&mkt=en-us
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to