Re: [R] Automating Plot Commands using a Loop

2009-11-11 Thread Koraelus
Hello, Thank you for responding! The data is in the same format as the example I showed earlier. The data is different from matrix to matrix, but the general format is: Time1Time 2 Time3 Time4 Species1 134 5 Species2 34

Re: [R] Automating Plot Commands using a Loop

2009-11-10 Thread Koraelus
.13 > D .13 .34 .34 .3"), header=TRUE) > closeAllConnections() > > par(mfrow=c(2,2)) > for (i in colnames(Data)){ > plot(Data[[i]],type="o",axes=F,xlab='', ylab='', ylim=c(0,1), main=i) > axis(1,at=1:4,lab=c("

[R] Automating Plot Commands using a Loop

2009-11-09 Thread Koraelus
0,1)) axis(1,at=1:4,lab=c("A","B","C","D") axis(2,at=.25*0:1) etc. I would like to automate this as much as possible. I tried to write a function, but clearly it would involve some sort of loop... I don't know how to do anything like that. Thanks

Re: [R] Sorting NA's and Graphing a histogram

2009-11-05 Thread Koraelus
eft blank. Thank you for your help so far! Koraelus Jorge Ivan Velez wrote: > > Hi Koraelus, > > Could you please explain us in more detail what would you like to do in > the > second part? > > HTH, > Jorge > >> -- >> View this message in c

[R] Sorting NA's and Graphing a histogram

2009-11-02 Thread Koraelus
Let's say I have a dataset Dataset<-read.csv("Dataset.txt", header=T, row.names=1) Dataset Alpha Beta Gamma Delta A 1 23 4 B NA24 5 C NA3NA NA D 8 9 10 11 E5 NA 713 F NANA NA 4 I