Re: [R] help on loop function

2008-02-15 Thread markleeds
>From: mohamed nur anisah <[EMAIL PROTECTED]> >Date: 2008/02/15 Fri AM 07:13:15 CST >To: r-help@r-project.org >Subject: [R] help on loop function a similar ( if not identical ? ) question was asked a few days ago and the answer is at the link below. http:/

[R] help on loop function

2008-02-15 Thread mohamed nur anisah
Dear lists, Anysuggestion on how to write a loop function which has nx2 matrix as an input, where each of the row represents an interval. the function should return a mx2 matrix containing the no matched interval of x?? i've tried my own function but it's only applies for 2x2 matrix.