Re: [R] Automatic routine - NEW

2004-06-23 Thread Adaikalavan Ramasamy
On Wed, 2004-06-23 at 13:53, Monica Palaseanu-Lovejoy wrote: > Hi Again, > > First of all thank you for all the responses to my previous query. > Your answers were very helpful and I did the job ;-). Now I hope you > can answer as quick the following (sorry I am invading you with > trivial ques

Re: [R] Automatic routine - NEW

2004-06-23 Thread Monica Palaseanu-Lovejoy
Hi Spencer, Your answer is very helpful. I was wondering if i should write again to the list to ask where i suppose to read about indices and things liek that since it seems they are very useful in lots of things. But you already gave me the answer. Thanks again, Monica

Re: [R] Automatic routine - NEW

2004-06-23 Thread Spencer Graves
The documentation is good for things like this. In most (all recent?) versions of R, "help.start()" brings up a help page. Select "An Introduction to R", and go to "Vector Indices". Also look at "Arrays and Matrices: Array Indexing". There, you will find that "DF[3:5,]" might be what you want.

RE: [R] Automatic routine - NEW

2004-06-23 Thread Liaw, Andy
Sounds to me that you are looking for something like: subDF <- DF[3:5,] Andy > From: Monica Palaseanu-Lovejoy > > Hi Again, > > First of all thank you for all the responses to my previous query. > Your answers were very helpful and I did the job ;-). Now I hope you > can answer as quick the

[R] Automatic routine - NEW

2004-06-23 Thread Monica Palaseanu-Lovejoy
Hi Again, First of all thank you for all the responses to my previous query. Your answers were very helpful and I did the job ;-). Now I hope you can answer as quick the following (sorry I am invading you with trivial questions): LetÂ’s use again the following data.frame example: DF <- data.fra