[djmu...@gmail.com]
Skickat: den 11 januari 2010 15:03
Till: Carl-Göran CG. Pettersson
Kopia: r-help@r-project.org
Ämne: Re: [R] Illustrating kernel distribution in wheat ears
Hi:
It wasn't clear to me precisely what you wanted, but here are a couple of ideas
in the hope that it will help.
I used
On 01/11/2010 06:47 PM, Carl-Göran CG. Pettersson wrote:
Dear all
R2.10 WinXP
I have a dataset dealing with the way different wheat cultivars build their
yield.
Wheat ears are organised in spikelets where the spikelets can be numbered from
the bottom, with even numbers on one side and odd
Från: Jim Lemon [...@bitwrit.com.au]
Skickat: den 11 januari 2010 10:56
Till: Carl-Göran CG. Pettersson
Kopia: r-help@r-project.org
Ämne: Re: [R] Illustrating kernel distribution in wheat ears
On 01/11/2010 06:47 PM, Carl-Göran CG. Pettersson wrote:
Dear all
R2.10 WinXP
I have a dataset
Hi:
It wasn't clear to me precisely what you wanted, but here are a couple of
ideas in the hope that it will help.
I used ggplot2 for the graphics, so it requires some manipulation of your
dataset from 'wide' format to 'long'.
I also add an indicator for side of the ear (odd is side one (L?),
Here is how I tried to do a simple side-by-side boxplot:
# Create new dataframe (cultivar, values, idx)
# cbind goes by column so the cn column is repeated for us
cultivars - cbind(cultivar=wheat$cn, stack(wheat[2:15]))
boxplot(values ~ cultivar, data=cultivars,
main=Kernel distribution,
On 01/12/2010 12:41 AM, Carl-Göran CG. Pettersson wrote:
Thanks a lot for the quick response!
The suggested code worked fine up to a certain point: the actual plotting from
the datasets...
With the sample dataset in samp my code looks like this at the end:
for(cultivar in 1:6)
+
Dear all
R2.10 WinXP
I have a dataset dealing with the way different wheat cultivars build their
yield.
Wheat ears are organised in spikelets where the spikelets can be numbered from
the bottom, with even numbers on one side and odd on the other.
I know how many kernels there were in each
7 matches
Mail list logo