[R] Subsetting dataframes

2007-07-19 Thread CG Pettersson
Dear all! W2k, R 2.5.1 I am working with an ongoing malting barley variety evaluation within Sweden. The structure is 25 cultivars tested each year at four sites, in field trials with three replicates and 'lattice' structure (the replicates are divided into five sub blocks in a structured way).

Re: [R] Subsetting dataframes

2007-07-19 Thread Uwe Ligges
CG Pettersson wrote: Dear all! W2k, R 2.5.1 I am working with an ongoing malting barley variety evaluation within Sweden. The structure is 25 cultivars tested each year at four sites, in field trials with three replicates and 'lattice' structure (the replicates are divided into five

Re: [R] Subsetting dataframes

2007-07-19 Thread CG Pettersson
Thanks a lot. But an ignorant R user, like me, needed the code example from Jim Holtman posted outside the list earlier today to understand that: x62_samvar$cn - x62_samvar$cn[,drop=TRUE] was the way to code. Thank you both! /CG On Thu, July 19, 2007 3:01 pm, Uwe Ligges said: CG Pettersson