Re: [R] Odp: Data frame with 3 columns to matrix

2011-04-19 Thread Petr PIKAL
Hi Michael Bach napsal dne 19.04.2011 14:21:13: > Petr PIKAL writes: > > > Hi > > > > r-help-boun...@r-project.org napsal dne 19.04.2011 09:46:47: > > > >> Dear R Users, > >> > >> Lets assume I have this data frame: > >> > >> x y z > >> 1 1.00 5 0.5 > >> 2 1.02 5 0.7 > >> 3 1.04 7 0.

Re: [R] Odp: Data frame with 3 columns to matrix

2011-04-19 Thread Michael Bach
Petr PIKAL writes: > Hi > > r-help-boun...@r-project.org napsal dne 19.04.2011 09:46:47: > >> Dear R Users, >> >> Lets assume I have this data frame: >> >> x y z >> 1 1.00 5 0.5 >> 2 1.02 5 0.7 >> 3 1.04 7 0.1 >> 4 1.06 9 0.4 >> >> x and y columns are sorted and the values not necessari

[R] Odp: Data frame with 3 columns to matrix

2011-04-19 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 19.04.2011 09:46:47: > Dear R Users, > > Lets assume I have this data frame: > > x y z > 1 1.00 5 0.5 > 2 1.02 5 0.7 > 3 1.04 7 0.1 > 4 1.06 9 0.4 > > x and y columns are sorted and the values not necessarily integers. z > values are not sorte