Re: [R] for loop question Documentation and its application for calculating euclidean distance on MDS ordination axis scores

2008-10-01 Thread Ben Bolker
> I will post data probably tonight, but here is my problem. I have > preformed an MDS on a set of data. I have the scores of the four axes > that > are the optimal solution. I want to calculate the euclidean distance > between time steps of the ordination. See ?dist for a much faster sol

Re: [R] for loop question Documentation and its application for calculating euclidean distance on MDS ordination axis scores

2008-10-01 Thread Gábor Csárdi
Actually, help.search("for") finds Control(base) Control Flow which is exactly where 'for' is documented. In general, if you want the manual page of reserved words, then you'll have to quote them: ?"for" Gabor On Wed, Oct 1, 2008 at 3:39 PM, stephen sefick <[EMAIL PROTECTED]> wrote:

Re: [R] for loop question Documentation and its application for calculating euclidean distance on MDS ordination axis scores

2008-10-01 Thread Gabor Grothendieck
One must write ?"for" presumably since for is a reserved word in R. On Wed, Oct 1, 2008 at 9:39 AM, stephen sefick <[EMAIL PROTECTED]> wrote: > ?for doesn't return anything help.search("for") doesn't return anything- > Is the for loop so prevelant in computer programing that the > documentation is

[R] for loop question Documentation and its application for calculating euclidean distance on MDS ordination axis scores

2008-10-01 Thread stephen sefick
?for doesn't return anything help.search("for") doesn't return anything- Is the for loop so prevelant in computer programing that the documentation is implicit or is R paradigm to discourage the use of the for loop. I will post data probably tonight, but here is my problem. I have preformed an MD