[R] , Updating Table

2010-07-23 Thread Marcus Liu
Hi everyone, Is there any command for updating table withing a loop?  For instance, at i, I have a table as ZZ = table(data.raw[1:ind[i]]) where "ind" = c(10, 20, 30, ...).  Then , ZZ will be as follow "A" "B" "C"  3    10   2 At (i + 1), ZZ = table(data.raw[(ind[i]+1):ind[i+1]]) "A" "B" "D"

Re: [R] , how to express bar(zeta) in main title in boxplot

2010-07-22 Thread Marcus Liu
It works well for the title command.  Thanks. t --- On Thu, 7/22/10, David Winsemius wrote: From: David Winsemius Subject: Re: [R] , how to express bar(zeta) in main title in boxplot To: "Peter Ehlers" Cc: "Marcus Liu" , r-help@r-project.org Date: Thursday, July 22, 2010,

[R] , how to express bar(zeta) in main title in boxplot

2010-07-22 Thread Marcus Liu
Hi everyone, I am plotting a boxplot with main title as main = bquote(paste(.(ts.ind[s]), ": ", bar(zeta), " Boxplot from 2001 to 2009", sep = "")) but it doesn't work.  The program said they cannot find the function "bar".  Does anyone know how to do it correctly?  Thanks. tin