Re: [R] suggestions for plotting 5000 data points

2008-10-03 Thread Tania Oh
t;model3") ## code I used for parallel require(lattice) parallel( ~ mat3[1:3]|model , mat3,varnames = c("human\ndnds", "mouse \ndnds", "chicken\ndnds") ) so very sorry to clog up your inboxes, tania On 3 Oct 2008, at 15:17, Tania Oh wrote: Dear all, I

[R] suggestions for plotting 5000 data points

2008-10-03 Thread Tania Oh
Dear all, I have a collection of 5000 entries which represent the evolutionary rates of 3 animals. I would like to show the differences between the rates of all 3 animals and have tried using the function parallel (from the lattice package) and pairs() function. The parallel function wo

Re: [R] how to read in multiple files with unequal number of columns

2008-04-23 Thread Tania Oh
wishes, tania On 22 Apr 2008, at 19:29, John Kane wrote: > You might want to have a look at the merge_all > function in the reshape package. > --- Tania Oh <[EMAIL PROTECTED]> wrote: > >> Dear all, >> >> I want to read in 1000 files which contain varying

Re: [R] how to read in multiple files with unequal number of columns

2008-04-22 Thread Tania Oh
e in this case? thanks tania On 22 Apr 2008, at 14:12, Ingmar Visser wrote: > you may be looking for ?merge > hth, Ingmar > > On 22 Apr 2008, at 15:05, Tania Oh wrote: > >> Dear all, >> >> I want to read in 1000 files which contain varying number of columns. >

[R] how to read in multiple files with unequal number of columns

2008-04-22 Thread Tania Oh
Dear all, I want to read in 1000 files which contain varying number of columns. For example: file[1] contains 8 columns (mixture of characters and numbers) file[2] contains 16 columns etc I'm reading everything into one big data frame and when I try rbind, R returns an error of "Error in rbind

Re: [R] Is this an artifact of using "which"?

2008-04-14 Thread Tania Oh
page you were alluding to? Sorry if I've missed something. thanks so much in advance again. tania On 14 Apr 2008, at 12:39, Uwe Ligges wrote: > > > Tania Oh wrote: >> Dear all, >> I used "which" to obtain a subset of values from my data.frame. >> however

[R] Is this an artifact of using "which"?

2008-04-14 Thread Tania Oh
Dear all, I used "which" to obtain a subset of values from my data.frame. however, I find that there is a "trace" of the values I have removed. Any suggestions would be greatly appreciate. Below is my data: d <- data.frame( val = 1:10, group = sample(LETTERS[1:5], 10, rep

[R] how to check if a variable is preferentially present in a sample

2008-04-08 Thread Tania Oh
Dear All, I do apologise if this question is out of place for this list but I've tried searching mailing lists and read "Introductory Statistics with R" by Peter Dalgaard, but couldn't find any hints on solving my question below: I have a data frame (d) of values which I will rank in decrea