Displaying 1 result from an estimated 1 matches for "naux".
Did you mean:
aux
2009 Jul 23
3
How to pass a character argument which contains expressions to arg.names in barplot?
...dy help me with this? I am trying to include in an automatic way
the argument in arg.names in a barplot. I generate the labels I want to
appear below the bars with a for loop, and they contain subscripts, so I
need to use expression
anch<-0.05
esp<-4
for (i in 1:dim(Ntot)[1])
{
naux<-Ntot[i,]
naux2<-naux[naux>0]
nind<-which(naux>0)
tit4<-character(0)
for (j in 1:length(nind))
{
tit4<-c(tit4,paste("expression(n[paste[",i,",",nind[j],"])",sep=""))
}
windows()
barplot(naux2,xlab...