Re: [R] How to create a loop and then extract values from the list generated by cor.test

2011-12-28 Thread Jean V Adams
keith.w.lar...@gmail.com wrote on 12/27/2011 04:06:09 PM: Jean, Thanks! I am new to the list and R so I am unsure of the protocol for replying to a reply. In general, cc R-help so that the entire thread of communication is available to everyone Your code is simple and elegant. I

[R] How to create a loop and then extract values from the list generated by cor.test

2011-12-27 Thread Keith Larson
Dear all, I would like to conduct a Pearson's correlation using cor.test separately for each individual in my data set. Each individual has nine observations of the measurement variable 'Delta13C'. I can figure our how to do it manually one 'Individual_ID' at a time, but I cannot figure out how

Re: [R] How to create a loop and then extract values from the list generated by cor.test

2011-12-27 Thread Jean V Adams
Keith Larson wrote on 12/27/2011 03:05:48 PM: Dear all, I would like to conduct a Pearson's correlation using cor.test separately for each individual in my data set. Each individual has nine observations of the measurement variable 'Delta13C'. I can figure our how to do it manually one