[R] index question

2005-11-01 Thread Jeffrey Stratford
Thanks for those on the list that answered my previous question. I'm just about where I need to be (looking at output). In the hier.part documentation there is a line env - urbanwq[,2:8]. This means use rows 2 through 8 in the data frame urbanwq, right? What does the comma represent? If

Re: [R] index question

2005-11-01 Thread Sundar Dorai-Raj
Jeffrey Stratford wrote: Thanks for those on the list that answered my previous question. I'm just about where I need to be (looking at output). In the hier.part documentation there is a line env - urbanwq[,2:8]. This means use rows 2 through 8 in the data frame urbanwq, right?

Re: [R] index question

2005-11-01 Thread ronggui
=== 2005-11-02 05:13:45 您在来信中写道:=== Thanks for those on the list that answered my previous question. I'm just about where I need to be (looking at output). In the hier.part documentation there is a line env - urbanwq[,2:8]. This means use rows 2 through 8 in the data

[R] index question

2005-10-07 Thread Afshartous, David
All, I'm having a problem selecting directly from a vector. I've written ways to do this indirectly, but I'd rather do it directly and didn't see this in the manual. Essentially, I have: group.label.new [1] 7 9 6 1 10 4 8 3 2 5 junk [1] 1 2 group.label.new[junk 8:10] [1] 7 9

Re: [R] index question

2005-10-07 Thread Nolwenn LeMeur
Hi, how about group.label.new[c(junk,8:10)] Nolwenn ** Nolwenn Le Meur, PhD Fred Hutchinson Cancer Research Center Computational Biology 1100 Fairview Ave. N., M2-B876 P.O. Box 19024 Seattle, WA 98109-1024 On Fri, 7 Oct 2005, Afshartous, David wrote: