Dear Users,

I have the following text plotted inside a graphic:


text(16200, 2.8*0.97, expression(NH[3]==0.33-1.1 %*% 10^-5 %*% day),

adj=c(1,1))

I need to include square brackets in the expression around the ammonia to have 
it plotted like that: [NO3-]. I tried instinctively to use %[% to plot the 
brackets, but it did not work. Does anybody of you know what is the correct 
syntax to plot square brackets inside an expression?

Thank you in advance,
José

        [[alternative HTML version deleted]]

______________________________________________
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