Re: [R] Using PLYR to apply a custom function to a data frame

2013-04-10 Thread ramoss
Thanks everyone. The mutate function worked great: all2<- mutate(all1,upper=p75+1.5*(p75-p25),lower=p25-1.5*(p75-p25)) -- View this message in context: http://r.789695.n4.nabble.com/Using-PLYR-to-apply-a-custom-function-to-a-data-frame-tp4663897p4663902.html Sent from the R help mailing list

Re: [R] Using PLYR to apply a custom function to a data frame

2013-04-10 Thread arun
t: [R] Using PLYR to apply a custom function to a data frame Hello, I am still struggling w/ the PLYR syntax.  I am trying to build a customized function to detect outliers in a data frame based on the interquantile method.  My data frame is called "ALL" &  I am trying to create two new

[R] Using PLYR to apply a custom function to a data frame

2013-04-10 Thread ramoss
Hello, I am still struggling w/ the PLYR syntax. I am trying to build a customized function to detect outliers in a data frame based on the interquantile method. My data frame is called "ALL" & I am trying to create two new variables in my data frame: upper=q3+ 1.5*(q3-q1) & lower=q1-1.5*(q3-