[R] Efficient calculation of partial correlations in R

2009-03-31 Thread Schragi Schwartz
Hello, I'm looking for an efficient function for calculating partial correlations. I'm currently using the pcor.test () function, which is equivalent to the cor.test() function, and can receive only single vectors as input. I'm looking for something which is equivalent to the cor() function, and c

Re: [R] Merging rows in dataframes

2009-03-29 Thread Schragi Schwartz
nates in a which are are overlapped by any coordinate in b. Can I do this via sqldf()? Or is there any other way to do this? Thank you very much! Schragi -Original Message- From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com] Sent: Wednesday, March 25, 2009 3:44 PM To: Schragi Schwar

Re: [R] Merging rows in dataframes

2009-03-25 Thread Schragi Schwartz
Thank you, your answer was extremely helpful. One last problem though: one of the aggregate functions I'd like to apply on the columns is concatentation (equivalent to the paste() function). So if I have a given character column in three separate rows sharing the same ids with the value "apple" in