[R] Datapoint tracking in scatterplot from plot() used on plsr() objects

2016-11-24 Thread CG Pettersson
sure it is possible as I have seen something like that in other uses of plot() but I can�t find where. Med v�nlig h�lsning/Best regards CG Pettersson Senior Scientific Advisor, PhD __ Lantm�nnen Corporate R&D Phone: +46 10 556 19 85 Mobile: + 46 70 330 66 85 Email: cg.petters...@

[R] Problems using plsr() in the pls package

2016-11-20 Thread CG Pettersson
urement. When I try to explain the DON variable with "lid_nose", the plsr() accepts my coding but returns a error message after on second or so: > don1 <- plsr(DON ~ lid_nose, ncomp = 10, data = lid_allt2, validation = "LOO") Error in `[[<-.data.frame`(`*tmp*`, i, va

Re: [R] Problems with data structure when using plsr() from package pls

2016-01-18 Thread CG Pettersson
quot;n96 3" "n96 4" ... Which is exactly the same structure as the supplied datasets in package pls, and works well with plsr() Thanks a lot for the help! /CG -Ursprungligt meddelande- Från: CG Pettersson Skickat: den 17 januari 2016 13:30 Till: 'S Ellison'; Sar

Re: [R] Problems with data structure when using plsr() from package pls

2016-01-17 Thread CG Pettersson
gestions, even if the detail structure of "n96" inside "frame" differ a little whe I test it with str(). Still stuck, but thanks all the same! /CG -Ursprungligt meddelande- Från: S Ellison [mailto:s.elli...@lgcgroup.com] Skickat: den 15 januari 2016 14:39 Till: Sara

Re: [R] Problems with data structure when using plsr() from package pls

2016-01-14 Thread CG Pettersson
Whatever I do ends with " invalid type (list) for variable 'n96'" So I am still stuck /CG Från: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] Skickat: den 14 januari 2016 05:16 Till: CG Pettersson; r-help@r-project.org Ämne: Re: [R] Problems with data structure when using pls

[R] Problems with data structure when using plsr() from package pls

2016-01-13 Thread CG Pettersson
ocumentation for data.frame() but I probably don�t understand what it says. What should I do to change "n96" into something better than "list"? Thanks /CG Med v�nlig h�lsning/Best regards CG Pettersson Scientific Project Manager, PhD __ Lantm�nnen Corporat

[R] Problems using estimable() (gmodels) on lme()-objects

2015-12-14 Thread CG Pettersson
the first column nowdays if I don´t specify anything else? All the best /CG Pettersson [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] Problems when using estimable() (gmodels) on lme()-objects

2015-12-14 Thread CG Pettersson
first column nowdays if I don�t specify anything else? Best regards CG Pettersson Scientific Project Manager, PhD __ Lantm�nnen Corporate R&D Phone: +46 10 556 19 85 Mobile: + 46 70 330 66 85 Email: cg.petters...@lantmannen.com<mailto:cg.petters...@lantmannen.com> V

Re: [R] Illustrating kernel distribution in wheat ears

2010-01-13 Thread Carl-Göran CG . Pettersson
n: Dennis Murphy [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 i

Re: [R] Illustrating kernel distribution in wheat ears

2010-01-11 Thread Carl-Göran CG . Pettersson
ing and why? /CG 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 > >

[R] Illustrating kernel distribution in wheat ears

2010-01-10 Thread Carl-Göran CG . Pettersson
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 spik

[R] update.packages()

2009-11-11 Thread CG Pettersson
ation followed by semi automatic installation that used to get triggered by "update.packages()" Thanks /CG -- CG Pettersson, Ph.D. Swedish University of Agricultural Sciences (SLU) Dept. of Crop Production Ecology. Box 7043. SE-750 07 Uppsala, Sweden cg.petters...@vpe.slu.se ___

[R] Boxplots illustrating the fixed effects in a lme object

2007-11-30 Thread CG Pettersson
proceed. Cheers /CG -- CG Pettersson, Ph.D. Swedish University of Agricultural Sciences (SLU) Dept. of Crop Production Ecology. Box 7043. SE-750 07 Uppsala, Sweden [EMAIL PROTECTED] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

[R] Boxplots from lme objects

2007-11-29 Thread CG Pettersson
? How do I make boxplots from the lme objects? Producing the boxplots, I want only 6 or 7 cultivars out of the 25 available in the object - so I also need a way to subset the information in the lme objects. Thank you /CG -- CG Pettersson, Ph.D. Swedish University of Agricultural Sciences (SLU