Re: [R] help: Using hotelling for a confidence region for PCA scores

2011-05-16 Thread Greg Hirson
read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Greg Hirson ghir...@ucdavis.edu Graduate Student Agricultural and Environmental Chemistry 1106 Robert Mondavi Institute North One Shields Avenue Davis, CA 956

Re: [R] period in scale parameter of prcomp

2011-05-13 Thread Greg Hirson
Bill, Thanks. So it is as we suspected. Kind regards, Greg On 5/13/11 11:19 AM, William Dunlap wrote: >> -Original Message- >> From: r-help-boun...@r-project.org >> [mailto:r-help-boun...@r-project.org] On Behalf Of Greg Hirson >> Sent: Friday, May 13, 2011

[R] period in scale parameter of prcomp

2011-05-13 Thread Greg Hirson
Greg -- Greg Hirson ghir...@ucdavis.edu Graduate Student Agricultural and Environmental Chemistry 1106 Robert Mondavi Institute North One Shields Avenue Davis, CA 95616 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help P

Re: [R] combn with factors

2010-04-07 Thread Greg Hirson
Peter, Thank you. I'll be sure to include a as.character. Greg On 4/7/10 11:40 AM, Peter Ehlers wrote: On 2010-04-07 11:40, Greg Hirson wrote: Dear list, I have come across this issue: combn(letters[1:5], 3) [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [1,] "a" &qu

[R] combn with factors

2010-04-07 Thread Greg Hirson
"3" "4" "3" "3" "4" "4" [3,] "c" "4" "5" "4" "5" "5" "4" "5" "5" "5" I'm not sure why the first combination uses the fac

Re: [R] can I rotate a matrix

2010-03-18 Thread Greg Hirson
] [,2] [,3] [,1] 43 1 [,2] 52 2 [,3] 36 1 Does anyone know a quick and straightforward way to do this? Thanks in advance. -- Greg Hirson ghir...@ucdavis.edu Graduate Student Agricultural and Environmental Chemistry 1106 Robert Mondavi Institute North One Sh

Re: [R] Shapiro-Wilk test problem

2010-02-18 Thread Greg Hirson
ontained, reproducible code. -- Greg Hirson ghir...@ucdavis.edu Graduate Student Agricultural and Environmental Chemistry 1106 Robert Mondavi Institute North One Shields Avenue Davis, CA 95616 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/

Re: [R] counting the number of times a string appears

2010-01-13 Thread Greg Hirson
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Greg Hirson ghir...@ucdavis.edu Graduate Student Agricultural and Environmental Chemistry 1106 Robert Mondavi Institute North One Shields Avenue Davis, CA 95616

Re: [R] find the corresponding mean y

2010-01-11 Thread Greg Hirson
ampled x (where replacement is true), and find its mean. How can I find the corresponding mean y, which is the paired data of above sample x? Thank you very much, Annie -- Greg Hirson ghir...@ucdavis.edu Graduate Student Agricultural and Environmental Chemistry 1106 Robert Mondavi Institute

Re: [R] string functions

2010-01-09 Thread Greg Hirson
an/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Greg Hirson ghir...@ucdavis.edu Graduate Student Agricultural and Environmental Chemistry 1106 Robert Mondavi Institute North One

Re: [R] factor graphics with pca in R?

2010-01-07 Thread Greg Hirson
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Greg Hirson ghir...@ucdavis.edu

Re: [R] Fast nested List->data.frame

2010-01-05 Thread Greg Hirson
The as.numeric(d.df$pH) should have been an as.numeric(as.character(d.df$pH)). Sorry for the confusion. Greg On 1/5/10 12:33 AM, Greg Hirson wrote: > Dieter, > > I'd approach this by first making a matrix, then converting to a data > frame with appropriate types. I'm sur

Re: [R] Fast nested List->data.frame

2010-01-05 Thread Greg Hirson
1]] marker[i] = d1[[2]] position[i] = d1[[3]] } # combine vectors pHAll = data.frame(pH,marker,position) } ) -- Greg Hirson ghir...@ucdavis.edu Graduate Student Agricultural and Environmental Chemistry 1106 Robert Mondavi Institute

Re: [R] Reading multiple Input Files

2009-12-21 Thread Greg Hirson
TERNET now has a personality. YOURS! See your Yahoo! Homepage. > [[alternative HTML version deleted]] > > > > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the post

Re: [R] Correcting for missing data combinations

2009-12-11 Thread Greg Hirson
e A 11/11/2009 5 A 11/12/2009 4 A 11/13/2009 0 B 11/11/2009 7 B 11/12/2009 0 B 11/13/2009 8 Truly appreciate any thoughts. -- Greg Hirson ghir...@ucdavis.edu Graduate Student Agricultural and Environmental Chemistry 1106

Re: [R] R and REST API's

2009-09-28 Thread Greg Hirson
Lewis __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Greg Hirson ghir...@ucdavis.edu Graduate St

Re: [R] Help on percentage of random numbers for different classes

2009-09-09 Thread Greg Hirson
istinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Greg Hirson ghir...@ucdavis.edu Graduate Student Agricultural and Environmental Chemistry 1106 Robert Mondavi Institute North On

Re: [R] Plotting two qqnorm plots:

2009-09-08 Thread Greg Hirson
ndow? Suppose I have data in the vector x and y: qqnorm(x) lines(qqnorm(y)) I though these two lines will do the job... However, lines doesn't seem to work. Anyways, thanks in advance! -- Greg Hirson ghir...@ucdavis.edu Graduate Student Agricultural and Environmental Chemistry 1106

Re: [R] help with median for each row

2009-08-21 Thread Greg Hirson
rther computation. And also if the number of columns in the matrix are even, how could I specify which median to use? Thank you very much! -- Greg Hirson ghir...@ucdavis.edu Graduate Student Agricultural and Environmental Chemistry 1106 Robert Mondavi Institute North One Shields Avenue Davis, CA

[R] multiple downloads of data when evaluating plot() vs. xyplot()

2009-08-13 Thread Greg Hirson
ourly("006")) Downloading: ftp://ftpcimis.water.ca.gov/pub/hourly/hourly006.csv Is this caused by a difference in how the two functions evaluate the data argument? Even more interesting, when adding a type = "l" argument to plot, the data is downloaded 3 times. Thank you for your ti

Re: [R] to get the R-Squared value

2009-07-10 Thread Greg Hirson
p://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Greg Hirson ghir...@ucdavis.edu Graduate Student Agricultural and Environmental Chemistry 1106 Robert Mondavi Institute North One Shields Avenue Davis, CA 95616 ___

Re: [R] Simple monovariate classification?

2009-07-08 Thread Greg Hirson
ting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Greg Hirson ghir...@ucdavis.edu Graduate Student Agricultural and Environmental Chemistry 1106 Robert Mondavi Institute North One Shields Avenue Davis, CA 95616 __

Re: [R] Simple monovariate classification?

2009-07-08 Thread Greg Hirson
. INRA-Dijon, France __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Greg Hirson ghir...@ucdavis.edu Graduate Stud

Re: [R] is there a way to extract fata from web pages through some R function ?

2009-07-01 Thread Greg Hirson
nd provide commented, minimal, self-contained, reproducible code. -- Greg Hirson ghir...@ucdavis.edu Graduate Student Agricultural and Environmental Chemistry 1106 Robert Mondavi Institute North One Shields Avenue Davis, CA 95616 __ R-help@r-project.or

Re: [R] Using regular expressions to detect clusters of consonants in a string

2009-06-30 Thread Greg Hirson
Blog: http://ryouready.wordpress.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducib

Re: [R] Indexing a list with a list

2009-06-26 Thread Greg Hirson
; [[4]] [1] "b" "d" "e" "f" "h" "i" Warning message: In mapply(function(a, b) a[b], example, ind) : longer argument not a multiple of length of shorter > On Fri, Jun 26, 2009 at 2:27 PM, Greg Hirson <mailto:ghir...@ucdavis.ed

[R] Indexing a list with a list

2009-06-26 Thread Greg Hirson
(example[[i]][ind[[i]]]) #result [1] "c" "g" "i" [1] "a" "b" "e" "f" "j" [1] "a" "b" "c" "d" "g" "h" "i" Thank you for the help. Greg -- Greg H