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
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
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.
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
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