Displaying 1 result from an estimated 1 matches for "tit5".
Did you mean:
tit
2009 Jul 23
3
How to pass a character argument which contains expressions to arg.names in barplot?
...I write directly
arg.names=c(expression(n[paste(5,1)]),expression(n[paste(5,2)]),expression(n[paste(5,3)]),expression(n[paste(5,4)]))
it works, but then I cannot do ii in an automatic way for all the graphics
coming from the for (i in 1:dim(Ntot)[1]).
I have also tried to store in another variable tit5 the whole expression as
> tit5
[1]
"c(expression(n[paste[5,1]),expression(n[paste[5,2]),expression(n[paste[5,3]),expression(n[paste[5,4]))"
but it doesn't work neither
I wonder if there is some way that barplot "tells" arg.names to "evaluate"
the contents of ti...