[R] problem of subscript value from vector and list

2008-02-27 Thread Jingru Dai
perfectly fine when I subscripts with the value of x directly. Is there any special rule of subscripts? My version of R is 2.5.1. Thanks a lot Jingru Dai School of Mathematical Sciences Rm 454, Building 28 Monash University, 3800 Victoria, Australia _

Re: [R] Retrieve results from chisq.test programmatically

2008-01-14 Thread Jingru Dai
matrix. I hope it helps Jingru Dai My Coyne wrote: > Hello, > > > > I would like to run a series of chisq.test() and store results (x-square, > df, p-value) in a matrix for further analysis, but don't know how to do > such. Currently I run the command line for each

Re: [R] plot POSIXct format data

2008-01-14 Thread Jingru Dai
ot print the axis with plot and then do it yourself > with axis or Axis. This works for me: > > >> plot(x ~ x, yaxt = "n") >> Axis(x, side = 2) >> > > >> R.version.string # Windows Vista >> > [1] "R version 2.6.1 Patched (2007

[R] plot POSIXct format data

2008-01-14 Thread Jingru Dai
5-06-29 07:00:00" "1995-06-30 13:00:00" [7] "1995-06-30 19:00:00" "1995-07-01 01:00:00" "1995-07-01 07:00:00" ... But it seems plot(x,y) doesn't work, y have to be numeric format. Is there any special command for that or I should change the format