[R] using rbind in a for loop
Steve Lianoglou
mailinglist.honeypot at gmail.com
Tue Feb 2 17:58:14 CET 2010
Hi,
On Mon, Feb 1, 2010 at 11:16 PM, Eunjung Kim <eunjung.hawaii at gmail.com> wrote:
> *Dear R users,
> *I'm facing a trivial problem but I cannot solve it.
> My question is:
> I want to make data set like this.
>>
> i_lon1 i_lat1
> i_lon2 i_lat2
> i_lon3 i_lat3
> i_lon4 i_lat4
>>
> i+1_lon1 i+1_lat1
> i+1_lon2 i+1_lat2
> i+1_lon3 i+1_lat3
> i+1_lon4 i+1_lat4
>>
> i+2_lon1 i+2_lat1
> i+2_lon2 i+2_lat2
> i+2_lon3 i+2_lat3
> i+2_lon4 i+2_lat4
> .
> .
> .
>>
> i+5_lon1 i+5_lat1
> i+5_lon2 i+5_lat2
> i+5_lon3 i+5_lat3
> i+5_lon4 i+5_lat4
I'd like to help, but I have no idea what you have listed above is
supposed to be.
Can you try to give a better example/explanation of what you want?
Are you trying to make one big matrix?
5 different matrices?
-steve
--
Steve Lianoglou
Graduate Student: Computational Systems Biology
| Memorial Sloan-Kettering Cancer Center
| Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact
More information about the R-help
mailing list