Skip to content
Prev 337125 / 398528 Next

expressions (nesting, substitution, 2-stage evaluation)

On Feb 27, 2014, at 9:55 PM, Bert Gunter wrote:

            
What about just using `substitute`?

vectorA = c( bquote("TNF-"*alpha), bquote("IFN-"*gamma) )

for(ii in vectorA)  {
   plot(0:1,0:1)
   title(main = substitute("asdfsadf"*x, list(x=ii)) )
}